gt() public method

false when the first value is less than or equivalent to the second value.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/gt/
public gt ( mixed | self $expression1, mixed | self $expression2 )
$expression1 mixed | self
$expression2 mixed | self
コード例 #1
0
ファイル: Operator.php プロジェクト: letrunghieu/mongodb
 /**
  * Compares two values and returns:
  * true when the first value is greater than the second value.
  * false when the first value is less than or equivalent to the second value.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/gt/
  * @see Expr::gt
  * @param mixed|Expr $expression1
  * @param mixed|Expr $expression2
  * @return self
  */
 public function gt($expression1, $expression2)
 {
     $this->expr->gt($expression1, $expression2);
     return $this;
 }