Macros

Macros are shortcuts for those using the query language, to make common query patterns much faster to write.

The most common macros are A, P and R, which are shortcuts for the ASSET, PROPERTY and RELATIONSHIP commands, respectively.

They are simple regular expression replacements - before AQL processes your script, they are converted to their 'expanded' format.

For example, the script A('TE101') P('Temperature') POINTS expands to 'TE101' ASSET 'Temperature' PROPERTY POINTS before it's executed.

Macro List