int pg_cmdtuples
(int result_id)
pg_cmdtuples() returns the number of tuples (instances) affected by INSERT, UPDATE, and DELETE queries. If no tuple is affected the function will return 0.
Example 1. pg_cmdtuples()
|
See also pg_numfields() and pg_numrows().