public function StatementEmpty::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 StatementInterface::rowCount

File

drupal/core/lib/Drupal/Core/Database/StatementEmpty.php, line 33
Definition of Drupal\Core\Database\StatementEmpty

Class

StatementEmpty
Empty implementation of a database statement.

Namespace

Drupal\Core\Database

Code

public function rowCount() {
  return 0;
}