AQL Reference - Alphabetical

A

AMacro for ASSET (macro)
ALLPOINTSGet all points for a given asset
ALLPROPSGet all properties available on a given asset
APPENDCombines two lists, one after the other
ASSETSearch for an asset by name or ID
AVERAGEReturns the average value in a point list

C

CONCATAdds two items to form a text string
COUNTGets the number of items in a list or map
CONTAINSReturns '1' if a list contains an item, otherwise 0
mCONNECTIONSGet all directly connected assets (macro)

D

DUPDuplicate the top item on the stack

E

EACHRun a function for each item in a list
EATRemove the item from the top of the stack
ENUMVALUESGets possible values of discrete properties
ENUMFILTERGets all property/value combinations for an enum text value
EQUALFilter for only items equal to a value

G

GETGet a value from memory
GETHISTORYGets historical values from a list of points
GETTABLEGets the contents of a table
GREATERFilter for only items greater than a value

I

IFRun a function if a condition is met
IGNOREAlias for the EAT function
INDEXGet a specific item from a list or map
ISTYPEReturns a list of assets that have a type

L

LESSFilter for only items less than a value

M

MAXIMUMReturns the maximum value in a point list
MAPFILTERFilter a Map
MAPSETSet or add items in a map
MEDIAGets media from a list of assets
MEDIANReturns the average value in a point list
MINIMUMReturns the minimum value in a point list

N

NAMEAssign a name to the item on the stack

P

PMacro for PROPERTY (macro)
PROPERTYSearch for a Property by name or ID
PUTSet a value in memory and leave on the stack

R

RMacro for RELATIONSHIP (macro)
RANGECreates a sequence of numbers between two points
RELSGet all relationships for an asset
RELATEDGet a list of related assets
RELATIONSHIPTranslate a name to a relationship
SUBTYPESGet the root asset of a hierarchy

S

SETSet a value in memory
SUBTYPESGets a list of sub-types of a given type
SWAPSwap the order of the stack

T

TYPEGets a type by name
THAT AREGet value based on enum (macro)

V

VALUEOFGet the points for a given asset and property (macro)

Z

ZIPCombines two lists by alternating items between each of them