function PdoResult::rowCount

Overrides ResultBase::rowCount

File

core/lib/Drupal/Core/Database/Statement/PdoResult.php, line 36

Class

PdoResult
Class for PDO-provided results of a data query language (DQL) statement.

Namespace

Drupal\Core\Database\Statement

Code

public function rowCount() : ?int {
    return $this->clientRowCount();
}

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