| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hasql.CursorTransactionIO
Synopsis
- data CursorTransactionIO s a
- data Cursor s a
- declareCursorFor :: params -> Statement params result -> CursorTransactionIO s (Cursor s result)
- fetchWithCursor :: Cursor s a -> CursorTransactionIO s a
Documentation
data CursorTransactionIO s a Source #
A TransactionIO that also manages creation and deletion of Cursors
Instances
A PostgresSQL cursor that produces results of type a when fetched
declareCursorFor :: params -> Statement params result -> CursorTransactionIO s (Cursor s result) Source #
Run a Statement using a cursor
fetchWithCursor :: Cursor s a -> CursorTransactionIO s a Source #
Fetch results from a cursor