<value1> < <value2>Example: Judge whether "2020-01-04" is less than "2020-04-27"
UQLreturn "2020-01-04" < "2020-04-27"
Result1
Example: Judge whether PI is less than 3
UQLreturn pi() < 3
Result0
Example: Judge each row of an alias whether it is less than 2
UQLuncollect [1,2,3,2,2] as a return a < 2
Result1 0 0 0 0
Sample graph: (to be used for the following examples)

Example: Find nodes whose age is less than 27
UQLfind().nodes({age < 27}) as n return n{*}
Result|---------------- @student ---------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | S002 | 4 | 20 | [email protected] | | S003 | 5 | 25 | [email protected] |
Example: Find nodes of @professor, whose age is less than 27
UQLfind().nodes({@professor.age < 27}) as n return n{*}
ResultNo return data