示例#1
0
 private function fetchMoreDocuments()
 {
     $limit = $this->calculateNextRequestLimit();
     if ($this->end) {
         return;
     }
     $response = $this->protocol->opGetMore($this->fcn, $limit, $this->cursorId, $this->queryTimeout);
     $this->setDocuments($response);
 }