Skip to content

Braga has been retired. The next public testnet is coming in September 2026. Read the announcement →

ne(name, value): ComparisonNode

Defined in: src/query/expression.ts:214

Attribute is set with this type and holds a different value.

This is typed value-negation, not the complement: an entity that never set the attribute, or set it with another type, does not match. Use not(eq(...)) for the full complement.

string

ValueInput

ComparisonNode

ne("status", str("closed")) // status != str('closed')
not(eq("status", str("closed"))) // NOT status = str('closed') — also matches entities with no status