size() 공개 메소드

Specify $size criteria for the current field.
또한 보기: Builder::size()
또한 보기: http://docs.mongodb.org/manual/reference/operator/size/
public size ( integer $size )
$size integer
예제 #1
0
 /**
  * Specify $size criteria for the current field.
  *
  * @see Expr::size()
  * @see http://docs.mongodb.org/manual/reference/operator/size/
  * @param integer $size
  * @return self
  */
 public function size($size)
 {
     $this->expr->size((int) $size);
     return $this;
 }
예제 #2
0
파일: Match.php 프로젝트: doctrine/mongodb
 /**
  * Specify $size criteria for the current field.
  *
  * @see Expr::size()
  * @see http://docs.mongodb.org/manual/reference/operator/size/
  * @param integer $size
  * @return $this
  */
 public function size($size)
 {
     $this->query->size((int) $size);
     return $this;
 }