Expression, Operand
<
judges if a given value is less than another value
Syntax:
- Expression:
<value1>
<<value2>
- Operand: ATTR (string, number, time)
Constant
Example: judge if "2020-01-04" is less than "2020-04-27"
return "2020-01-04" < "2020-04-27"
Function
Example: judge if PI is less than 3
return pi() < 3
Alias
Example: find 10 nodes whose levels are less than 3
find().nodes() as n
where n.level < 3
limit 10
return n{*}
Property
Example: find 10 nodes whose levels are less than 3
find().nodes({level < 3}) as n
limit 10
return n{*}