====INSIDE====
===Parameters===
^Order^Name^Type^Desc^
|1|asset|[[asset list|asset list]]|The asset(s) to look inside|
===Returns===
Places an [[asset list|asset list]] on the stack.
===Description===
This returns a list of **all assets** that are //downstream// from the given asset(s) on the Location relationship.
The resulting list includes the original asset and all children, grandchildren etc.
This isn't actually a true AQL function - it's a macro that is replaced with the following code...
'Location' RELATIONSHIP 'downi' RELATED
===Example===
'Furnace' ASSET INSIDE
Internally, this is changed to...
'Furnace' ASSET 'Location' RELATIONSHIP 'downi' RELATED
This query would return a list of every asset anywhere inside the Furnace, along with the furnace itself.
===See Also===
[[fRELATED|RELATED]]