#CQL
Executes a cQL query, and stores the results in a variable. Use #LIST to iterate through the results.
Prototype
#CQL($variable, $query)
Parameters
- variable - The variable to store the cQL query results in. The variable name should include the preceding dollar sign.
- query - A string or variable with the cQL query.
Example
#CQL($Results,"SELECT Name FROM Contact")
#LIST($Results)
$Name<br />
#ENDLIST