db_affected_rows
includes/database.pgsql.inc, line 156
- Versions
- 4.6 – 6
db_affected_rows()
Determine the number of rows changed by the preceding query.
Related topics
Code
<?php
function db_affected_rows() {
global $last_result;
return pg_affected_rows($last_result);
}
?> 