コード例 #1
0
ファイル: Builder.php プロジェクト: cosmow/riak
 /**
  * Specify $mod criteria for the current field.
  *
  * @see Expr::mod()
  * @see http://docs.mongodb.org/manual/reference/operator/mod/
  * @param float|integer $divisor
  * @param float|integer $remainder
  * @return self
  */
 public function mod($divisor, $remainder = 0)
 {
     $this->expr->mod($divisor, $remainder);
     return $this;
 }