Doctrine\MongoDB\Query\Expr::size PHP 메소드

size() 공개 메소드

Specify $size criteria for the current field.
또한 보기: Builder::size()
또한 보기: http://docs.mongodb.org/manual/reference/operator/size/
public size ( integer $size )
$size integer
    public function size($size)
    {
        return $this->operator('$size', (int) $size);
    }

Usage Example

예제 #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;
 }
All Usage Examples Of Doctrine\MongoDB\Query\Expr::size