db_affected_rows()
drupal/includes/database.pgsql.inc, line 156
Determine the number of rows changed by the preceding query.
| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
function db_affected_rows() {
global $last_result;
return pg_affected_rows($last_result);
}