Compares two values and returns:
truewhen the values are not equivalent.
falsewhen the values are equivalent.
$nehas the following syntax:
For more information on expressions, see Expressions.
inventory collection with the following documents:
The following operation uses the
$ne operator to determine if
qty does not equal
The operation returns the following results: