addNor() 공개 메소드

Add one or more $nor clauses to the current query.
또한 보기: Builder::addNor()
또한 보기: http://docs.mongodb.org/manual/reference/operator/nor/
public addNor ( array | Expr $expression )
$expression array | Expr
예제 #1
0
 /**
  * Add a $nor clause to the current query.
  *
  * You can create a new expression using the {@link Builder::expr()} method.
  *
  * @see Expr::addNor()
  * @see http://docs.mongodb.org/manual/reference/operator/nor/
  * @param array|Expr $expression
  * @return self
  */
 public function addNor($expression)
 {
     $this->expr->addNor($expression);
     return $this;
 }
예제 #2
0
파일: Match.php 프로젝트: doctrine/mongodb
 /**
  * Add one or more $nor clauses to the current query.
  *
  * You can create a new expression using the {@link Builder::matchExpr()}
  * method.
  *
  * @see Expr::addNor()
  * @see http://docs.mongodb.org/manual/reference/operator/nor/
  * @param array|Expr $expression
  * @return $this
  */
 public function addNor($expression)
 {
     $this->query->addNor(...func_get_args());
     return $this;
 }