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.

ntuples

Name

ntuples -- return the number of tuples in query object

Synopsis

ntuples()

Parameters

none

Return Type

integer

The number of tuples in query object.

Exceptions

SyntaxError

Too many arguments.

Description

ntuples() method returns the number of tuples found in a query.