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/StatementPrefetch.php, line 355
- Definition of Drupal\Core\Database\StatementPrefetch
Class
- StatementPrefetch
- An implementation of StatementInterface that prefetches all data.
Namespace
Drupal\Core\Database
Code
public function rowCount() {
return $this->rowCount;
}