private function getAllLocationsQueryBuilder(array $columns)
    {
        $query = $this->connection->createQueryBuilder();
        $query
            ->select($columns)
            ->from('ezcontentobject_tree')
            ->where($query->expr()->neq('node_id', 'parent_node_id'))
        ;

        return $query;
    }
private function getAllLocationsQueryBuilder(array $columns)
    {
        $query = $this->connection->createQueryBuilder();
        $query
            ->select($columns)
            ->from('ezcontentobject_tree')
            ->where($query->expr()->neq('node_id', 'parent_node_id'))
        ;

        return $query;
    }
private function getAllLocationsQueryBuilder ( array $ columns ) { $ query = $ this -> connection -> createQueryBuilder ( ) ; $ query -> select ( $ columns ) -> from ( 'ezcontentobject_tree' ) -> where ( $ query -> expr ( ) -> neq ( 'node_id' , 'parent_node_id' ) ) ; return $ query ; }
Get Query Builder for fetching data of all Locations except the Root node.

@todo Align with createNodeQueryBuilder, removing the need for both(?)

@param array $columns list of columns to fetch

@return \Doctrine\DBAL\Query\QueryBuilder
Get Query Builder for fetching data of all Locations except the Root node .