HomeMogDBMogDB StackUqbar
v5.0

Documentation:v5.0

Supported Versions:

Other Versions:

PQnfields

Function

PQnfields is used to return the number of columns (fields) in each row of the query result.

Prototype

int PQnfields(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.