OQL Parameters
Last modified: May 29, 2024
1 Introduction
Currently, parameters are only supported within OQL queries defined in datasets. To use a defined parameter in a query, use the $
sign.
2 Examples
Examples of correct parameter names are $weight_range
, $age
.
If a parameter value is not set in an OQL query, that part of the statement is ignored. For example, in the following query:
|
|
If the value of $param
is not provided, the query will be equivalent to:
|
|
The example above is different from the case where the value of $param
is provided, but is NULL
. In that case, the query will be equivalent to:
|
|