push() 공개 메소드

Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/push/
public push ( mixed | self $expression )
$expression mixed | self
예제 #1
0
파일: Group.php 프로젝트: Wizkunde/mongodb
 /**
  * Returns an array of all values that result from applying an expression to
  * each document in a group of documents that share the same group by key.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/push/
  * @see Expr::push
  * @param mixed|Expr $expression
  * @return Operator
  */
 public function push($expression)
 {
     $this->expr->push($expression);
     return $this;
 }