Merge pull request #15 from abhin4v/patch-1

Makes `Array Foreign` an instance of ToSQLRow
This commit is contained in:
paluh 2018-04-21 12:15:15 +02:00 committed by GitHub
commit 63c21fb220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,9 @@ class ToSQLRow a where
class FromSQLRow a where
fromSQLRow :: Array Foreign -> Either String a
instance toSQLRowForeignArray :: ToSQLRow (Array Foreign) where
toSQLRow = id
-- | A row with 0 fields.
data Row0 = Row0