1 prefetch.inc | public DatabaseStatementPrefetch::rowCount() |
Returns the number of rows affected by the last SQL statement.
Return value
int: The number of rows affected by the last DELETE, INSERT, or UPDATE statement executed.
Overrides DatabaseStatementInterface::rowCount
File
- core/
includes/ database/ prefetch.inc, line 380 - Database interface code for engines that need complete control over their result sets.
Class
- DatabaseStatementPrefetch
- An implementation of DatabaseStatementInterface that prefetches all data.
Code
public function rowCount() {
return $this->rowCount;
}