Exemplo n.º 1
0
 /**
  * Set whether the query should peek ahead for more results
  *
  * Enabling this causes the current query limit to be increased by one. The potential extra row being yielded will
  * be removed from the result set. Note that this only applies when fetching multiple results of limited queries.
  *
  * @return  $this
  */
 public function peekAhead($state = true)
 {
     $this->query->peekAhead($state);
     return $this;
 }