relational-query-HDBC 0.6.8.0 → 0.6.8.1
raw patch · 3 files changed
+11/−7 lines, 3 filesdep ~relational-queryPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: relational-query
API changes (from Hackage documentation)
- Database.HDBC.Record.Sequence: autoPool :: (FromSql SqlValue s, ToSql SqlValue i, ShowConstantTermsSQL i, Bounded i, Integral i, Show i, IConnection conn, Binding r s i) => IO conn -> i -> Relation () r -> IO [Number r i]
+ Database.HDBC.Record.Sequence: autoPool :: (FromSql SqlValue s, ToSql SqlValue i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn, Binding r s i) => IO conn -> i -> Relation () r -> IO [Number r i]
- Database.HDBC.Record.Sequence: pool :: (FromSql SqlValue s, ToSql SqlValue i, PersistableWidth i, ShowConstantTermsSQL i, Bounded i, Integral i, Show i, IConnection conn, Binding r s i) => IO conn -> i -> Relation () r -> IO [Number r i]
+ Database.HDBC.Record.Sequence: pool :: (FromSql SqlValue s, ToSql SqlValue i, PersistableWidth i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn, Binding r s i) => IO conn -> i -> Relation () r -> IO [Number r i]
- Database.HDBC.Record.Sequence: unsafeAutoPool :: (FromSql SqlValue s, PersistableWidth s, ToSql SqlValue i, ShowConstantTermsSQL i, Bounded i, Integral i, Show i, IConnection conn) => IO conn -> i -> Sequence s i -> IO [i]
+ Database.HDBC.Record.Sequence: unsafeAutoPool :: (FromSql SqlValue s, PersistableWidth s, ToSql SqlValue i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn) => IO conn -> i -> Sequence s i -> IO [i]
- Database.HDBC.Record.Sequence: unsafePool :: (FromSql SqlValue s, PersistableWidth s, ToSql SqlValue i, ShowConstantTermsSQL i, Bounded i, Integral i, Show i, IConnection conn) => IO conn -> i -> Sequence s i -> IO [i]
+ Database.HDBC.Record.Sequence: unsafePool :: (FromSql SqlValue s, PersistableWidth s, ToSql SqlValue i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn) => IO conn -> i -> Sequence s i -> IO [i]
Files
ChangeLog.md view
@@ -1,5 +1,9 @@ <!-- -*- Markdown -*- --> +## 0.6.8.1++- apply renamed LiteralSQL class.+ ## 0.6.8.0 - apply enableWarning flag in Config type.
relational-query-HDBC.cabal view
@@ -1,5 +1,5 @@ name: relational-query-HDBC-version: 0.6.8.0+version: 0.6.8.1 synopsis: HDBC instance of relational-query and typed query interface for HDBC description: This package contains the HDBC instance of relational-query and the typed query interface for HDBC.@@ -62,7 +62,7 @@ , names-th , sql-words , persistable-record >= 0.6- , relational-query >= 0.11.2+ , relational-query >= 0.12 , relational-schemas , HDBC >=2 , HDBC-session
src/Database/HDBC/Record/Sequence.hs view
@@ -25,7 +25,7 @@ import Language.SQL.Keyword (Keyword (FOR, UPDATE)) import Database.Record (FromSql, ToSql, PersistableWidth) import Database.Relational- (relationalQuery', ShowConstantTermsSQL, Relation, )+ (relationalQuery', LiteralSQL, Relation, ) import qualified Database.Relational as Relation import qualified Database.Relational.Table as Table import Database.HDBC.Record.Persistable ()@@ -39,7 +39,7 @@ -- | Unsafely get a raw sequence number pool of specified size unsafePool :: (FromSql SqlValue s, PersistableWidth s,- ToSql SqlValue i, ShowConstantTermsSQL i,+ ToSql SqlValue i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn) => IO conn -> i@@ -68,7 +68,7 @@ -- | Unsafely get a raw lazy pool of sequence number unsafeAutoPool :: (FromSql SqlValue s, PersistableWidth s,- ToSql SqlValue i, ShowConstantTermsSQL i,+ ToSql SqlValue i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn) => IO conn -> i@@ -82,7 +82,7 @@ -- | Get a sized sequence number pool corresponding proper table 'r' pool :: (FromSql SqlValue s, ToSql SqlValue i,- PersistableWidth i, ShowConstantTermsSQL i,+ PersistableWidth i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn, Binding r s i) => IO conn@@ -96,7 +96,7 @@ -- | Get a lazy pool corresponding proper table 'r' autoPool :: (FromSql SqlValue s,- ToSql SqlValue i, ShowConstantTermsSQL i,+ ToSql SqlValue i, LiteralSQL i, Bounded i, Integral i, Show i, IConnection conn, Binding r s i) => IO conn