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
 /**
  * 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);
 }