allElementsTrue() публичный Метод

The expression must resolve to an array.
См. также: http://docs.mongodb.org/manual/reference/operator/aggregation/allElementsTrue/
public allElementsTrue ( mixed | self $expression )
$expression mixed | self
Пример #1
0
 /**
  * Evaluates an array as a set and returns true if no element in the array
  * is false. Otherwise, returns false. An empty array returns true.
  *
  * The expression must resolve to an array.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/allElementsTrue/
  * @see Expr::allElementsTrue
  * @param mixed|Expr $expression
  * @return self
  */
 public function allElementsTrue($expression)
 {
     $this->expr->allElementsTrue($expression);
     return $this;
 }