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