文档首页/ 云数据库 GaussDB/ 开发指南(集中式_V2.0-8.x)/ 应用程序开发教程/ 基于libpq开发/ libpq接口参考/ 数据库结果处理函数/ PQGetBatchErrorCount
更新时间:2026-03-23 GMT+08:00
PQGetBatchErrorCount
功能描述
获取BatchErrorMode批量请求的错误条数。
原型
int PQGetBatchErrorCount(PGresult* result);
参数
| 关键字 | 参数说明 |
|---|---|
| result | PQexecPreparedBatchEx的执行结果返回值。 |
返回值
int类型数据。
父主题: 数据库结果处理函数