lib/Doctrine/ODM/MongoDB/Query/Query.php
public function getFieldsInQuery()
    {
        $query = isset($this->query['query']) ? $this->query['query'] : array();
        $sort = isset($this->query['sort']) ? $this->query['sort'] : array();

        $extractor = new FieldExtractor($query, $sort);
        return $extractor->getFields();
    }
public function getFieldsInQuery()
    {
        $query = isset($this->query['query']) ? $this->query['query'] : array();
        $sort = isset($this->query['sort']) ? $this->query['sort'] : array();

        $extractor = new FieldExtractor($query, $sort);
        return $extractor->getFields();
    }
public function getFieldsInQuery ( ) { $ query = isset ( $ this -> query [ 'query' ] ) ? $ this -> query [ 'query' ] : array ( ) ; $ sort = isset ( $ this -> query [ 'sort' ] ) ? $ this -> query [ 'sort' ] : array ( ) ; $ extractor = new FieldExtractor ( $ query , $ sort ) ; return $ extractor -> getFields ( ) ; }
Gets the fields involved in this query.

@return array $fields An array of fields names used in this query.
Gets the fields involved in this query .