generated from tpl/purs
Add ToSQLValue Number instance
This commit is contained in:
parent
57ca84c05b
commit
0566be6dee
@ -124,6 +124,9 @@ instance toSQLValueInt :: ToSQLValue Int where
|
||||
instance fromSQLValueInt :: FromSQLValue Int where
|
||||
fromSQLValue = fromRight <<< runExcept <<< readInt
|
||||
|
||||
instance toSQLValueNumber :: ToSQLValue Number where
|
||||
toSQLValue = toForeign
|
||||
|
||||
instance toSQLValueString :: ToSQLValue String where
|
||||
toSQLValue = toForeign
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user