返回查询结果中每一行的列(域)数。
int PQnfields(const PGresult *res);
表 1 PQnfields参数
关键字
参数说明
res
操作结果句柄。
int类型数字。
参见:示例