setIsSubset() 공개 메소드

The arguments can be any valid expression as long as they each resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/setIsSubset/
public setIsSubset ( mixed | self $expression1, mixed | self $expression2 )
$expression1 mixed | self
$expression2 mixed | self
예제 #1
0
 /**
  * Takes two arrays and returns true when the first array is a subset of the
  * second, including when the first array equals the second array, and false
  * otherwise.
  *
  * The arguments can be any valid expression as long as they each resolve to an array.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/setIsSubset/
  * @see Expr::setIsSubset
  * @param mixed|Expr $expression1
  * @param mixed|Expr $expression2
  * @return $this
  */
 public function setIsSubset($expression1, $expression2)
 {
     $this->expr->setIsSubset($expression1, $expression2);
     return $this;
 }