Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data QueryResult t = FromRow row => QueryResult {}
- ntuples :: QueryResult t -> Int
- nfields :: QueryResult t -> Int
Documentation
data QueryResult t Source #
Representation of a query result. Provides Functor
and Foldable
instances for data transformation and
extraction appropriately.
FromRow row => QueryResult | |
ntuples :: QueryResult t -> Int Source #
Extract number of returned tuples (rows) from query result.
nfields :: QueryResult t -> Int Source #
Extract number of returned fields (columns) from query result.