You are here

public function Statement::count in Drupal driver for SQL Server and SQL Azure 8.2

Return the number of rows.

Return value

int

File

drivers/lib/Drupal/Driver/Database/sqlsrv/PDO/Statement.php, line 75

Class

Statement
Turbocharged Statement class to work with MSSQL server.

Namespace

Drupal\Driver\Database\sqlsrv\PDO

Code

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