'$nin' operator expression. Tests for an attribute not to be equal to any of the values in a list of values.

{a: {$nin: [1,2,3,4]} }

This is semantically equivalent to:

{$not:{$or: [{a:{$eq:1}},{a:{$eq:2}},{a:{$eq:3}},{a:{$eq:4}}]}}}
interface NotInExpression {
    $nin: readonly SimpleValue[];
}

Properties

Properties

$nin: readonly SimpleValue[]

List of values to check against.

Generated using TypeDoc