Query AdoScript ​
The AdoScript command "EVAL_AQL_EXPRESSION" can be used to include query functionality in AdoScript implementations. The signature of the command is detailed below:
EvalAqlExpression: EVAL_AQL_EXPRESSION expr:strValue (modelid:intValue | modelscope ) --> RESULT ecode :intValue objids :strValue
EVAL_AQL_EXPRESSION will evaluate the AQL string specified by the argument expr.
The return variable ecode is 0 if the evaluation yielded no error. The list of found objects or models is returned in the variable objids , separated by blanks.