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

Updates the value of the field to a specified value if the specified value is greater than the current value of the field.
См. также: Builder::max()
См. также: http://docs.mongodb.org/manual/reference/operator/update/max/
public max ( mixed $value )
$value mixed
Пример #1
0
 /**
  * Updates the value of the field to a specified value if the specified value is greater than the current value of the field.
  *
  * @see Expr::max()
  * @see http://docs.mongodb.org/manual/reference/operator/update/max/
  * @param mixed $value
  * @return self
  */
 public function max($value)
 {
     $this->expr->max($value);
     return $this;
 }