Skip to content

not(expression): NotNode

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

The complement of an expression, evaluated against the set of live entities — unlike !=, it matches entities that never set the attribute at all.

Expression

NotNode

not(exists("closedAt")) // NOT EXISTS(closedAt)
not(and(eq("a", 1), eq("b", 2))) // NOT (a = i32(1) AND b = i32(2))