Safe Haskell | None |
---|---|
Language | Haskell98 |
Database.PostgreSQL.PQTypes.Internal.QueryResult
- newtype QueryResult = QueryResult (ForeignPtr PGresult)
- ntuples :: QueryResult -> Int
- nfields :: QueryResult -> Int
Documentation
newtype QueryResult Source
Wrapper for hiding representation of query result.
Constructors
QueryResult (ForeignPtr PGresult) |
ntuples :: QueryResult -> Int Source
Extract number of returned tuples (rows) from query result.
nfields :: QueryResult -> Int Source
Extract number of returned fields (columns) from query result.