Copyright | (c) Ole Krüger 2016 |
---|---|
License | BSD3 |
Maintainer | Ole Krüger <ole@vprsm.de> |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Statement a = Statement ByteString
- data Query a = Query {
- queryStatement :: ByteString
- queryParams :: [Maybe (Oid, ByteString, Format)]
- data PrepQuery ts a = PrepQuery {
- prepName :: ByteString
- prepStatement :: ByteString
- prepOids :: [Oid]
- prepParams :: Tuple ts -> [Maybe (ByteString, Format)]
- toParam :: ByteString -> (ByteString, Format)
- toTypedParam :: Oid -> ByteString -> (Oid, ByteString, Format)
- newtype Oid :: * = Oid CUInt
- data Format :: *
General
SQL statement
Query object
Query | |
|
Preparable query object
PrepQuery | |
|
toParam :: ByteString -> (ByteString, Format) Source #
Attach Text
tag.
toTypedParam :: Oid -> ByteString -> (Oid, ByteString, Format) Source #
Attach Text
tag.