- Expression:
<value>
IS NOT NULL - Operand: Any
The operators
==
and!=
cannot be used to evaluate null values.
Sample graph: (to be used for the following examples)
Run below UQLs one by one in an empty graphset to create graph data:create().node_property(@default, "name").node_property(@default, "try1", int32).node_property(@default, "try2", int32).node_property(@default, "try3", int32)
insert().into(@default).nodes([{name:"Jason", try1:84}, {name:"Alice", try1:55, try2:79}, {name:"Lina"}, {name:"Eric", try1:39, try2:46, try3:61}, {name:"Pepe", try1:89}])
Comman Usage
Example: Return the name of student who took the 2nd test (the 1st re-test)
find().nodes({try2 is not null }) as n
return n.name
Alice
Eric