public function getQuery()
    {
        $query = new AVQuery($this->targetClassName);
        $query->relatedTo('object', $this->parent->_toPointer());
        $query->relatedTo('key', $this->key);

        return $query;
    }
public function getQuery()
    {
        $query = new AVQuery($this->targetClassName);
        $query->relatedTo('object', $this->parent->_toPointer());
        $query->relatedTo('key', $this->key);

        return $query;
    }
public function getQuery ( ) { $ query = new AVQuery ( $ this -> targetClassName ) ; $ query -> relatedTo ( 'object' , $ this -> parent -> _toPointer ( ) ) ; $ query -> relatedTo ( 'key' , $ this -> key ) ; return $ query ; }
Gets a query that can be used to query the objects in this relation.

@return AVQuery That restricts the results to objects in this relations.
Gets a query that can be used to query the objects in this relation .