generated from tpl/purs
Merge pull request #15 from abhin4v/patch-1
Makes `Array Foreign` an instance of ToSQLRow
This commit is contained in:
commit
63c21fb220
@ -14,6 +14,9 @@ class ToSQLRow a where
|
|||||||
class FromSQLRow a where
|
class FromSQLRow a where
|
||||||
fromSQLRow :: Array Foreign -> Either String a
|
fromSQLRow :: Array Foreign -> Either String a
|
||||||
|
|
||||||
|
instance toSQLRowForeignArray :: ToSQLRow (Array Foreign) where
|
||||||
|
toSQLRow = id
|
||||||
|
|
||||||
-- | A row with 0 fields.
|
-- | A row with 0 fields.
|
||||||
data Row0 = Row0
|
data Row0 = Row0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user