src/Uploader/src/Iterator/DataStorePack.php
protected function getQuery()
    {
        $query = new Query();

        if ($this->valid()) {
            $query->setQuery(new GtNode($this->dataStore->getIdentifier(), $this->key()));
        }

        $query->setLimit(new LimitNode($this->limit));
        $query->setSort(new SortNode([$this->dataStore->getIdentifier() => SortNode::SORT_ASC]));

        return $query;
    }
protected function getQuery()
    {
        $query = new Query();

        if ($this->valid()) {
            $query->setQuery(new GtNode($this->dataStore->getIdentifier(), $this->key()));
        }

        $query->setLimit(new LimitNode($this->limit));
        $query->setSort(new SortNode([$this->dataStore->getIdentifier() => SortNode::SORT_ASC]));

        return $query;
    }
protected function getQuery ( ) { $ query = new Query ( ) ; if ( $ this -> valid ( ) ) { $ query -> setQuery ( new GtNode ( $ this -> dataStore -> getIdentifier ( ) , $ this -> key ( ) ) ) ; } $ query -> setLimit ( new LimitNode ( $ this -> limit ) ) ; $ query -> setSort ( new SortNode ( [ $ this -> dataStore -> getIdentifier ( ) => SortNode :: SORT_ASC ] ) ) ; return $ query ; }
Return query with limit and offset
Return query with limit and offset