PHPUnit_Extensions_Database_DB_IDatabaseConnection::getRowCount PHP Method

getRowCount() public method

Returns the number of rows in the given table. You can specify an optional where clause to return a subset of the table.
public getRowCount ( string $tableName, string $whereClause = NULL )
$tableName string
$whereClause string
    public function getRowCount($tableName, $whereClause = NULL);