Compares two values and returns:
truewhen the first value is greater than or equivalent to the second value.
falsewhen the first value is less than the second value.
$gtehas the following syntax:
For more information on expressions, see Expressions.
inventory collection with the following documents:
The following operation uses the
$gte operator to determine if
qty is greater than or equal to
The operation returns the following results: