src/Sedona/SBORuntimeBundle/Datatable/Data/DatatableQuery.php
private function getCountAllResults($rootEntityIdentifier)
    {
        $qb = $this->em->createQueryBuilder();
        $qb->select('count(distinct '.$this->tableName.'.'.$rootEntityIdentifier.')');
        $qb->from($this->entity, $this->tableName);

        $this->setLeftJoins($qb);
        $this->setWhereAllCallback($qb);

        return (int) $qb->getQuery()->getSingleScalarResult();
    }
private function getCountAllResults($rootEntityIdentifier)
    {
        $qb = $this->em->createQueryBuilder();
        $qb->select('count(distinct '.$this->tableName.'.'.$rootEntityIdentifier.')');
        $qb->from($this->entity, $this->tableName);

        $this->setLeftJoins($qb);
        $this->setWhereAllCallback($qb);

        return (int) $qb->getQuery()->getSingleScalarResult();
    }
private function getCountAllResults ( $ rootEntityIdentifier ) { $ qb = $ this -> em -> createQueryBuilder ( ) ; $ qb -> select ( 'count(distinct ' . $ this -> tableName . '.' . $ rootEntityIdentifier . ')' ) ; $ qb -> from ( $ this -> entity , $ this -> tableName ) ; $ this -> setLeftJoins ( $ qb ) ; $ this -> setWhereAllCallback ( $ qb ) ; return ( int ) $ qb -> getQuery ( ) -> getSingleScalarResult ( ) ; }
Query results before filtering.

@param int $rootEntityIdentifier

@return int
Query results before filtering .