public function DatabaseStatementEmpty::rowCount

7.x database.inc public DatabaseStatementEmpty::rowCount()

Returns the number of rows affected by the last SQL statement.

Return value

The number of rows affected by the last DELETE, INSERT, or UPDATE statement executed.

Overrides DatabaseStatementInterface::rowCount

File

drupal-7.x/includes/database/database.inc, line 2247
Core systems for the database layer.

Class

DatabaseStatementEmpty
Empty implementation of a database statement.

Code

public function rowCount() {
  return 0;
}