Prado\Data\Common\TDbCommandBuilder::createCountCommand PHP Метод

createCountCommand() публичный Метод

Creates a count(*) command for the table described in {@link setTableInfo TableInfo}.
public createCountCommand ( $where = '1=1', $parameters = [], $ordering = [], $limit, $offset ) : TDbCommand
Результат TDbCommand count command.
    public function createCountCommand($where = '1=1', $parameters = array(), $ordering = array(), $limit = -1, $offset = -1)
    {
        return $this->createFindCommand($where, $parameters, $ordering, $limit, $offset, 'COUNT(*)');
    }