PQfnumberEx
Description
Returns the column number associated with the given column name. Columns are numbered starting at 0.
Prototype
int PQfnumberEx(const PGresult* res, const char* field_name, bool case_sensitive);
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 integer of the int type.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.