Example #1
0
 /**
  * Resets a previously set maximum size of the result set. Returns $this to allow
  * for chaining (fluid interface)
  *
  * @return \TYPO3\CMS\Extbase\Persistence\QueryInterface
  */
 public function unsetLimit()
 {
     parent::unsetLimit();
     if ($this->statement) {
         $this->sqlParser->setLimitStatement($this->getLimitStatement());
         $statement = $this->sqlParser->toString();
         $this->statement = $this->qomFactory->statement($statement, $this->parameters);
     }
     return $this;
 }