Safe Haskell | None |
---|---|
Language | Haskell98 |
- data QueryResult t = forall row . 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.
forall row . 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.