功能描述 返回与给定列名相关联的列号。列号从0开始。 原型 int PQfnumberEx(const PGresult* res, const char* field_name, bool case_sensitive); 参数 表1 PQfnumberEx参数 关键字 参数说明 res 操作结果句柄。 field_name 列名。 case_sensitive 列名是否大小写敏感。 返回值 int型整数。
int PQfnumberEx(const PGresult* res, const char* field_name, bool case_sensitive); Parameters Table 1 PQfnumberEx parameters Keyword Description res Handle to the operation result. field_name Column name. case_sensitive Specifies whether the column name is case sensitive. Return Value An intege...