db_affected_rows
- Versions
- 4.6 – 6
db_affected_rows()
Determine the number of rows changed by the preceding query.
Related topics
Code
includes/database.pgsql.inc, line 237
<?php
function db_affected_rows() {
global $last_result;
return empty($last_result) ? 0 : pg_affected_rows($last_result);
}
?>Login or register to post comments 