HomeMogDBMogDB StackUqbar
v3.1

Documentation:v3.1

Supported Versions:

Other Versions:

PQntuples

Function

PQntuples is used to return the number of rows (tuples) in the query result. An overflow may occur if the return value is out of the value range allowed in a 32-bit OS.

Prototype

int PQntuples(const PGresult *res);

Parameter

Table 1

Keyword Parameter Description
res Operation result handle.

Return Value

Value of the int type

Example

For details, see Example.

Copyright © 2011-2024 www.enmotech.com All rights reserved.