src/Ease/SQL/PDO.php
public function getTableNumRows($tableName = null)
    {
        if (empty($tableName)) {
            $tableName = $this->myTable;
        }
        $tableRowsCount = $this->queryToArray(SQL::$sel.
            'count(*) AS NumRows'.SQL::$frm.$this->getColumnComma().
            $this->addSlashes($tableName).$this->getColumnComma());

        return $tableRowsCount[0]['NumRows'];
    }
public function getTableNumRows($tableName = null)
    {
        if (empty($tableName)) {
            $tableName = $this->myTable;
        }
        $tableRowsCount = $this->queryToArray(SQL::$sel.
            'count(*) AS NumRows'.SQL::$frm.$this->getColumnComma().
            $this->addSlashes($tableName).$this->getColumnComma());

        return $tableRowsCount[0]['NumRows'];
    }
Vrací počet řádek v tabulce.

@param string $tableName

@return int