Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
queryWith :: RowEncoder p -> RowDecoder r -> Connection -> Query -> p -> IO (Either QueryError (Vector r)) Source #
queryWith_ :: RowEncoder p -> Connection -> Query -> p -> IO (Either QueryError ()) Source #
execParams :: RowEncoder p -> Connection -> ByteString -> p -> IO (Either QueryError Result) Source #
query :: (ToSql p, FromSql r) => Connection -> Query -> p -> IO (Either QueryError (Vector r)) Source #
query_ :: ToSql p => Connection -> Query -> p -> IO (Either QueryError ()) Source #
connectionError :: Connection -> Maybe a -> IO (Either Text a) Source #