Differences

This shows you the differences between two versions of the page.

Link to this comparison view

aql:mconnected [2020/01/21 00:20]
optrix created
aql:mconnected [2020/01/21 00:22] (current)
optrix
Line 1: Line 1:
-**'<​assetid>​' [[fASSET]] '​asset'​ [[fSET]] [[fRELS]] '​rels'​ [[fSET]] [ '​asset'​ [[fGET]] [[fSWAP]] '​ddown'​ [[fRELATED]] '​index'​ [[fGET]] ' downstream'​ [[fCONCAT]] [[fNAME]] ] [[fEACH]] [[fEAT]] '​rels'​ [[fGET]] [ '​asset'​ [[fGET]] [[fSWAP]] '​dup'​ [[fRELATED]] '​index'​ [[fGET]] ' upstream'​ [[fCONCAT]] [[fNAME]] ] [[fEACH]] [[fEAT]] '​rels'​ [[fGET]]**+====CONNECTIONS==== 
 + 
 +The **CONNECTIONS** [[macros|macro]] gives each of the direct relationships an asset has with its neighbours on //all// relationships. 
 + 
 +This leaves a number of lists on the stack - one for each relationship //​upstream//,​ one for each relationship //​downstream//​. Plus the last item on the stack is a list of relationships. If this is not needed, you can use the [[fEAT]] command to remove it.  
 + 
 +===Before=== 
 + 
 +**CONNECTIONS('​TE101'​)** 
 + 
 +===After=== 
 + 
 +**'TE101' [[fASSET]] '​asset'​ [[fSET]] [[fRELS]] '​rels'​ [[fSET]] [ '​asset'​ [[fGET]] [[fSWAP]] '​ddown'​ [[fRELATED]] '​index'​ [[fGET]] ' downstream'​ [[fCONCAT]] [[fNAME]] ] [[fEACH]] [[fEAT]] '​rels'​ [[fGET]] [ '​asset'​ [[fGET]] [[fSWAP]] '​dup'​ [[fRELATED]] '​index'​ [[fGET]] ' upstream'​ [[fCONCAT]] [[fNAME]] ] [[fEACH]] [[fEAT]] '​rels'​ [[fGET]]**