persistable-record 0.4.0.3 → 0.4.1.0
raw patch · 2 files changed
+5/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Database.Record.TH: columnName :: NameConfig -> String -> String -> VarName
Files
persistable-record.cabal view
@@ -1,5 +1,5 @@ name: persistable-record-version: 0.4.0.3+version: 0.4.1.0 synopsis: Binding between SQL database values and haskell records. description: This package contiains types to represent table constraints and interfaces to bind between SQL database values and Haskell records.
src/Database/Record/TH.hs view
@@ -53,8 +53,9 @@ -- * Templates about record type name NameConfig, defaultNameConfig,+ recordTypeName, columnName, - recordTypeName, recordType,+ recordType, columnOffsetsVarNameDefault, @@ -109,7 +110,8 @@ instance Show NameConfig where show = const "<nameConfig>" --- | Default implementation of 'NameConfig' type+-- | Default implementation of 'NameConfig' type.+-- To customize this, use record update syntax. defaultNameConfig :: NameConfig defaultNameConfig = NameConfig