Module
Database.PostgreSQL.Value
- Package
- purescript-postgresql-client
- Repository
- rightfold/purescript-postgresql-client
#ToSQLValue Source
#FromSQLValue Source
class FromSQLValue a where
Convert things from SQL values.
Members
fromSQLValue :: Foreign -> Either String a
Instances
FromSQLValue Boolean
FromSQLValue Char
FromSQLValue Int
FromSQLValue Number
FromSQLValue String
(FromSQLValue a) => FromSQLValue (Array a)
(FromSQLValue a) => FromSQLValue (List a)
FromSQLValue ByteString
FromSQLValue Instant
FromSQLValue Date
(FromSQLValue a) => FromSQLValue (Maybe a)
FromSQLValue Foreign
FromSQLValue Decimal
#instantToString Source
instantToString :: Instant -> Foreign
#unsafeIsBuffer Source
unsafeIsBuffer :: forall a. a -> Boolean