<value> NIN <list>Example: Judge whether 2 does not belong to [1,2,3]
UQLreturn 2 nin [1,2,3]
Result0
Example: Judge whether 2 does not belong to the intersection of [1,2,3] and [3,2,5]
UQLreturn 2 nin intersection([1,2,3], [3,2,5])
Result0
Example: Judge each row of an alias whether it does not belong to [0,1,3]
UQLuncollect [1,2,3,2,2] as a return a nin [0,1,3]
Result0 1 0 1 1
Sample graph: (to be used for the following examples)

Example: Find nodes whose age does not belong to [20,25,30,35]
UQLfind().nodes({age nin [20,25,30,35]}) as n return n{*}
Result|--------------- @professor --------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | P001 | 1 | 53 | [email protected] | | P002 | 2 | 27 | [email protected] | |---------------- @student ---------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | S001 | 3 | 27 | [email protected] |
Example: Find nodes of @professor, whose age does not belong to [20,25,30,35]
UQLfind().nodes({@professor.age nin [20,25,30,35]}) as n return n{*}
Result|--------------- @professor --------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | P001 | 1 | 53 | [email protected] | | P002 | 2 | 27 | [email protected] |