Safe Haskell | None |
---|---|
Language | Haskell98 |
- newtype QueryResult = QueryResult (ForeignPtr PGresult)
- ntuples :: QueryResult -> Int
- nfields :: QueryResult -> Int
Documentation
newtype QueryResult Source
Wrapper for hiding representation of query result.
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.