field != value.
Notes
A missing field does not satisfy NotEq. Treating absence as
inequality would make NotEq match documents that have no such field at
all, which is almost never what a caller means; use Not(Exists(field))
to ask that question deliberately.
- Parameters:
-
-
describe()[source]
Return a readable rendering of the expression.
- Return type:
str
-
field: str[source]
-
matches(document)[source]
Whether the field is present and differs from value.
- Parameters:
document (Any)
- Return type:
bool
-
operators()[source]
Return {'NotEq'}.
- Return type:
set[str]
-
to_dict()[source]
Return the JSON form; see filter_to_dict.
- Return type:
dict[str, Any]
-
value: Any[source]