min() public méthode

Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/min/
public min ( mixed | self $expression )
$expression mixed | self
Exemple #1
0
 /**
  * Returns the lowest value that results 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/min/
  * @see Expr::min
  * @param mixed|Expr $expression
  * @return Operator
  */
 public function min($expression)
 {
     $this->expr->min($expression);
     return $this;
 }