| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Database.PostgreSQL.PQTypes.Internal.QueryResult
- 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.
Constructors
| forall row . FromRow row => QueryResult | |
Instances
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.