コード例 #1
0
 /**
  * Set whether this 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)
 {
     return $this->query->peekAhead($state);
 }