notIn

fun notIn(field: String, value: List<Any>): Condition

Creates a not-in condition. Matches documents where the specified field value is not in the given list of values.

Return

A new not-in condition.

Parameters

field

The field name to check.

value

The list of values to exclude.