Comparison queries are the simplest RQL queries, where a property’s value is compared against another property value, or against a constant. For example:

age > 30

All standard comparison operators can be used:







These operators can be applied to String properties and arguments, where case ordering is determined by lexical order of the Strings.

In general, these operators can only be used on properties that are scalar values. They should not be used on multi-valued properties.