function
NotEqual
Exclude an equal scalar or null.
Example
query.NotEqual("status", "draft")Arguments
| Argument | Type | Description |
|---|---|---|
path | P | The field, as a dot-separated name such as "seo.title" or a Path. |
value | V | A string, boolean, integer, float, named type of one, or a Value. |
Returns
The declared result.
ExpressionFull signature
func NotEqual[P FieldPath, V Operand](
path P,
value V,
) ExpressionRelated types
FieldPathA field name in a filter or sort: a string such as "seo.title", or a Path.
OperandA value that Equal, NotEqual, and In compare with a field.
ExpressionA sealed immutable predicate consumed atomically by stores.