예제 #1
0
파일: Operator.php 프로젝트: cosmow/riak
 /**
  * Divides one number by another and returns the remainder. The first
  * argument is divided by the second argument.
  *
  * The arguments can be any valid expression as long as they resolve to numbers.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/mod/
  * @see Expr::mod
  * @param mixed|Expr $expression1
  * @param mixed|Expr $expression2
  * @return self
  */
 public function mod($expression1, $expression2)
 {
     $this->expr->mod($expression1, $expression2);
     return $this;
 }