Module
Node.SQLite.Encoding.EncodedValue
- Package
- purescript-node-sqlite
- Repository
- m-rinaldi/purescript-node-sqlite
#EncodedValue Source
newtype EncodedValueA JS value accepted by node:sqlite as a bound parameter. Opaque: the constructor is not exported, so values can only be built with the smart constructors below, one per SQLite storage class.
#null Source
null :: EncodedValueSQL NULL, bound as JS null.
#encodeInt Source
encodeInt :: Int -> EncodedValueSQL INTEGER, bound as a JS number.
#encodeReal Source
encodeReal :: Number -> EncodedValueSQL REAL, bound as a JS number.
#encodeText Source
encodeText :: String -> EncodedValueSQL TEXT, bound as a JS string.