| | ## Where |
| | |
| | -Example `WHERE` clauses include: |
| | +Example **rxm** where expressions include: |
| | |
| | ``` |
| | -account.id = $id # $ starts a named parameter |
| | -account.id <> $id # inequality parameter comparison |
| | -account.id = {$id, 1} # becomes IN set |
| | -account.id <> {$id, 1} # becomes NOT IN set |
| | -account.id = null # becomes IS NULL |
| | -account.id <> null # becomes IS NOT NULL |
| | -account.id = 'text' # string equality comparison |
| | -account.id = -42 # numeric equality comparison |
| | -account.id < 42 # numeric less than comparison |
| | -account.id > 42 # numeric greater than comparison |
| | -account.id <= 42 # numeric less than or equal to comparison |
| | -account.id >= 42 # numeric greater than or equal to comparison |
| | +account.id = $id # $ starts a named parameter |
| | +account.id <> $id # inequality parameter comparison |
| | +account.id = {$id, 1} # becomes IN set |
| | +account.id <> {$id, 1} # becomes NOT IN set |
| | +account.id = null # becomes IS NULL |
| | +account.id <> null # becomes IS NOT NULL |
| | +account.id = 'text' # string equality comparison |
| | +account.id = -42 # numeric equality comparison |
| | +account.id < 42 # numeric less than comparison |
| | +account.id > 42 # numeric greater than comparison |
| | +account.id <= 42 # numeric less than or equal to comparison |
| | +account.id >= 42 # numeric greater than or equal to comparison |
| | ``` |
| | |
| | -The clauses are straightforward and correlate with SQL `WHERE` clauses as |
| | -expected. |
| | +The clauses correlate with SQL `WHERE` clauses as expected. |
| | |
| | ### Variables |