Doctrine\MongoDB\Aggregation\Builder::skip PHP 메소드

skip() 공개 메소드

Skips over the specified number of documents that pass into the stage and passes the remaining documents to the next stage in the pipeline.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/skip/
public skip ( integer $skip ) : Doctrine\MongoDB\Aggregation\Stage\Skip
$skip integer
리턴 Doctrine\MongoDB\Aggregation\Stage\Skip
    public function skip($skip)
    {
        return $this->addStage(new Stage\Skip($this, $skip));
    }

Usage Example

예제 #1
0
파일: Stage.php 프로젝트: alcaeus/mongodb
 /**
  * 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);
 }