更新时间:2024-06-03 GMT+08:00
PQnfields
功能描述
返回查询结果中每一行的列(域)数。
原型
int PQnfields(const PGresult* res);
参数
关键字 |
参数说明 |
---|---|
res |
操作结果句柄。 |
返回值
int类型数字。
父主题: 数据库执行语句函数
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
返回查询结果中每一行的列(域)数。
int PQnfields(const PGresult* res);
关键字 |
参数说明 |
---|---|
res |
操作结果句柄。 |
int类型数字。