skip() public method

Skips over the specified number of documents that pass into the stage and passes the remaining documents to the next stage in the pipeline.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/skip/
public skip ( integer $skip ) : Doctrine\MongoDB\Aggregation\Stage\Skip
$skip integer
return Doctrine\MongoDB\Aggregation\Stage\Skip
Beispiel #1
0
 /**
  * Skips over the specified number of documents that pass into the stage and
  * passes the remaining documents to the next stage in the pipeline.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/skip/
  *
  * @param integer $skip
  * @return Stage\Skip
  */
 public function skip($skip)
 {
     return $this->builder->skip($skip);
 }