generated from tpl/purs
Makes Array Foreign
an instance of ToSQLRow
For when the user wants to convert the values to foreign by themselves.
This commit is contained in:
parent
97583e0cc8
commit
4178f9005e
@ -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