<>
judges if a given value is in an open interval, namely <value>
is greater than <lower>
but less than . It makes sense only when
is less than
- Expression:
<value>
<> [<lower>
,<upper>
] - Operand: string, number, time
Constant
Example: judge if "abc" is in the open interval ["asd", "1af"]
return "abc" <> ["asd", "1af"]
Function
Example: judge if PI is in the open interval [3.14, 3.15]
uncollect [3.14, 3.15] as a
with collect(a) as b
return pi() <> [b[0], b[1]]
Alias
Example: find 10 nodes whose levels are in the open interval [1, 3]
find().nodes() as n
where n.level <> [1, 3]
limit 10
return n{*}
Property
Example: find 10 nodes whose levels are in the open interval [1, 3]
find().nodes({level <> [1, 3]}) as n
limit 10
return n{*}