QueryBuilder compiles with hasql 19

This commit is contained in:
Joe Nelson
2016-01-24 18:09:18 -08:00
parent 72cd6c37bd
commit 7b92449343
4 changed files with 98 additions and 64 deletions
+3
View File
@@ -90,6 +90,9 @@ data Relation = Relation {
newtype UniformObjects = UniformObjects (V.Vector Object)
deriving (Show, Eq)
unUniformObjects :: UniformObjects -> V.Vector Object
unUniformObjects (UniformObjects objs) = objs
-- | When Hasql supports the COPY command then we can
-- have a special payload just for CSV, but until
-- then CSV is converted to a JSON array.