ne

fun ne(field: String, value: Any): Condition

Creates a not-equal condition. Matches documents where the specified field does not equal the given value.

Return

A new not-equal condition.

Parameters

field

The field name to check.

value

The value to compare against.