The following is a formal definition of the RQL grammar:

RQLStatement:: Query OrderByClause RangeClause
Query:: OR | AND | NOT | Comparison | ID IN | IN FOLDERS | ALL |
TextSearch | PropertyTextSearch | INCLUDES ITEM | IS NULL | (Query)

The precedence order of the queries from highest to lowest is as follows:

 
loading table of contents...