Kostiantyn Rybnikov
963fa52837
Fix build under GHC 8.4
2018-04-02 15:40:08 +03:00
Philipp Balzarek
b2c01b1286
Fix Postgres aggregate function types ( #68 )
...
Aggregate functions like array_agg and string_agg will return NULL instead of
empty arrays and empty strings resp. when run on zero rows. This change reflects
that in the haskell types. It also adds a "maybeArray" function that
coalesces NULL into an empty array, because currently there is no way to write
an empty array literal (`val []` does not work)
2018-03-08 15:23:41 +01:00
Philipp Balzarek
381e50494a
Generalize postgresql aggregate functions
2018-03-08 14:08:43 +01:00
Philipp Balzarek
b9d02ff8be
Add arrayRemoveNull function (Postgresql)
2018-03-07 15:39:25 +01:00
Chris Allen
391aa86464
Changelog, bifurcating random_
2018-02-27 18:19:46 -06:00
Chris Allen
0acb568445
Updating for UnliftIO, Conduit 1.3, Persistent 2.8
2018-02-27 17:45:25 -06:00
Sebastián Estrella
b0abe50812
Add arrayRemove wrapper for PostgreSQL function
2018-01-10 13:34:25 -05:00
Sebastián Estrella
ea6f1807a4
Add arrayAggDistinct wrapper for PostgreSQL function
2018-01-10 10:02:44 -05:00
Fintan Halpenny
8eab68a8d3
Removed now from typeclass and moved it to PostgreSQL. Testing for DB clock against machine clock
2017-08-03 20:48:42 +01:00
Chris Coffey
9604b25833
Fix postgres tests
2017-02-04 13:02:09 -05:00
Felipe Lessa
78a7fcdaeb
New SqlString class, ditch IsString.
2015-08-05 15:54:16 -03:00
Kris Jenkins
fa1d1c8887
Adding chr to the list of Postgresql functions.
2015-08-02 22:13:29 +01:00
Felipe Lessa
3bfa1a9a43
Add stringAgg to PostgreSQL module ( fixes #98 ).
2015-07-15 12:34:47 -03:00
Felipe Lessa
6c63f2c5ac
Add array_agg function, new PostgreSQL module.
2015-07-15 12:28:26 -03:00