Are you an LLM? You can read better optimized documentation at /zh/docs/7.0.0/developer_guide/pqntuples.md for this page in Markdown format
PQntuples
功能描述
返回查询结果中的行(元组)数。因为它返回一个整数结果,在 32 位操作系统上大型的结果集可能使返回值溢出。
原型
int PQntuples(const PGresult *res);
参数
表 1 PQntuples参数
返回值
int类型数字。
示例
参见:示例