hasql 1.4 → 1.4.0.1
raw patch · 2 files changed
+9/−7 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hasql.cabal +4/−2
- library/Hasql/Private/Encoders.hs +5/−5
hasql.cabal view
@@ -1,9 +1,11 @@ name: hasql-version: 1.4+version: 1.4.0.1 category: Hasql, Database, PostgreSQL synopsis: An efficient PostgreSQL driver with a flexible mapping API description:- This package is the root of the \"hasql\" ecosystem.+ Root of the \"hasql\" ecosystem.+ For details and tutorials see+ <https://github.com/nikita-volkov/hasql the readme>. . The API comes free from all kinds of exceptions. All error-reporting is explicit and is presented using the 'Either' type. homepage: https://github.com/nikita-volkov/hasql
library/Hasql/Private/Encoders.hs view
@@ -304,17 +304,17 @@ {-| Lift a value encoder of element into a unidimensional array encoder of a foldable value. -E.g.,+This function is merely a shortcut to the following expression: @-vectorOfInts :: Value (Vector Int64)-vectorOfInts = 'foldableArray' ('nonNullable' 'int8')+('array' . 'dimension' 'foldl'' . 'element') @ -This function is merely a shortcut to the following expression:+You can use it like this: @-('array' . 'dimension' 'foldl'' . 'element')+vectorOfInts :: Value (Vector Int64)+vectorOfInts = 'foldableArray' ('nonNullable' 'int8') @ Please notice that in case of multidimensional arrays nesting 'foldableArray' encoder