Operators
This page provides an overview of all operators available in the View query language. Operators are special symbols or keywords that perform operations on values and return results.
Comparison Operators
Comparison operators compare values and return boolean results.
Operator | Description | Example |
---|---|---|
Equals |
|
|
Not equals |
|
|
Greater than |
|
|
Greater than or equal to |
|
|
Less than |
|
|
Less than or equal to |
|
|
Tests if a value is NULL (missing) |
|
|
Tests if a value is not NULL (present) |
|
Logical Operators
Logical operators combine boolean expressions.
Operator | Description | Example |
---|---|---|
Logical AND - true if both conditions are true |
|
|
Logical OR - true if either condition is true |
|
|
Logical NOT - negates a condition |
|
Pattern Matching Operators
Pattern matching operators test if a string matches a pattern.
Operator | Description | Example |
---|---|---|
Pattern matching with wildcards |
|
Operator Precedence
Operators are evaluated in the following order of precedence (from highest to lowest):
-
Parentheses
()
-
Unary operators (
NOT
) -
Comparison operators (
=
,!=
,<
,>
, etc.) -
AND
-
OR
Use parentheses to override the default precedence.
Related Features
-
WHERE clause - Using operators in query filters
-
JOIN - Using operators in join conditions
-
Data Types - Type information for operators