Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
db_affected_rows()
6/includes/database.pgsql.inc, line 236
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. |
<?php
function db_affected_rows() {
global $last_result;
return empty($last_result) ? 0 : pg_affected_rows($last_result);
}
?>