OQL Parameters
Last modified: April 20, 2023
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:
|
|
Feedback
Was this page helpful?
Glad to hear it! Thank you for your response.
Sorry to hear that. Please tell us how we can improve.