protected function getDomainRecordsByRootPageIds(array $rootPageIds = [])
    {
        $queryBuilder = $this->getQueryBuilder();

        return $queryBuilder->select('uid', 'pid')
            ->from($this->table)
            ->where(
                $queryBuilder->expr()->in('pid', $rootPageIds)
            )->groupBy('uid', 'pid', 'sorting')
            ->orderBy('pid')
            ->addOrderBy('sorting')
            ->execute()->fetchAll();
    }
protected function getDomainRecordsByRootPageIds(array $rootPageIds = [])
    {
        $queryBuilder = $this->getQueryBuilder();

        return $queryBuilder->select('uid', 'pid')
            ->from($this->table)
            ->where(
                $queryBuilder->expr()->in('pid', $rootPageIds)
            )->groupBy('uid', 'pid', 'sorting')
            ->orderBy('pid')
            ->addOrderBy('sorting')
            ->execute()->fetchAll();
    }
protected function getDomainRecordsByRootPageIds ( array $ rootPageIds = [ ] ) { $ queryBuilder = $ this -> getQueryBuilder ( ) ; return $ queryBuilder -> select ( 'uid' , 'pid' ) -> from ( $ this -> table ) -> where ( $ queryBuilder -> expr ( ) -> in ( 'pid' , $ rootPageIds ) ) -> groupBy ( 'uid' , 'pid' , 'sorting' ) -> orderBy ( 'pid' ) -> addOrderBy ( 'sorting' ) -> execute ( ) -> fetchAll ( ) ; }
Fetches the domain records for TYPO3 9.

@param array $rootPageIds
@return array
Fetches the domain records for TYPO3 9 .