Any query expressions may be combined using the AND, OR, and NOT operators. Parentheses may be used to affect grouping. NOT has the highest precedence, AND the next highest precedence, and OR has the lowest precedence. For example, this expression:

name = "joe" OR NOT phone ENDS WITH "7" AND age > 30

would be grouped as:

(name = "joe" OR ((NOT phone ENDS WITH "7") AND age > 30))
 
loading table of contents...