September 26, 2024: PostgreSQL 17 Released!
Unsupported versions: 7.3 / 7.2 / 7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

9.5. Query result object: pgqueryobject

Table of Contents
getresult -- gets the values returned by the query
dictresult -- like getresult but returns a list of dictionaries
listfields -- lists the fields names of the query result
fieldname -- field number-name conversion
fieldnum -- field name-number conversion
ntuples -- returns the number of tuples in query object