function db_affected_rows

7.x db.inc db_affected_rows($result_handler)
6.x db.inc db_affected_rows($result_handler)
4.x db.inc db_affected_rows()
5.x db.inc db_affected_rows($result_handler)

File

includes/db.inc, line 282
This file contains mostly db shortcuts.

Code

function db_affected_rows() {
  $db = get_global_database_handler();
  return $db->db_affected_rows();
}