function DatabaseStatementPrefetch::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

includes/database/prefetch.inc, line 353

Class

DatabaseStatementPrefetch
An implementation of DatabaseStatementInterface that prefetches all data.

Code

public function rowCount() {
    return $this->rowCount;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.