PQntuples
Function
Returns the number of rows (tuples) in the query result.
Prototype
int PQntuples(const PGresult* res);
Parameter
Keyword |
Parameter Description |
---|---|
res |
Operation result handle. |
PQntuples returns an integer result. An overflow may occur if the return value is out of the value range allowed in a 32-bit OS.
Return Value
Value of the int type
Examples
For details, see Example.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot