Differences
This shows you the differences between two versions of the page.
| analyst:relationshiplist [2024/04/16 05:09] – created optrix | analyst:relationshiplist [2025/12/18 22:50] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | =====RELATIONSHIPLIST===== | ||
| + | |||
| + | An RELATIONSHIPLIST is an AQL list of relationships. | ||
| + | |||
| + | ====Creating==== | ||
| + | |||
| + | The most common way of creating a list of assets is using the RELATIONSHIP function. | ||
| + | |||
| + | ' | ||
| + | |||
| + | //The above function will return a list of all relationships with ' | ||
| + | |||
| + | You can also search for all of the relationships an asset has with the RELS function. | ||
| + | |||
| + | ' | ||
| + | |||
| + | //The function above will return an relationship list containing each of the relationships that the Wind Turbine is connected with.//. | ||
| + | |||
| + | ====Converting To Assets==== | ||
| + | |||
| + | You can use relationships to search for assets. You'll need to pick an asset to //start from// and a //direction to search//. | ||
| + | | ||
| + | First, get an [[ASSETLIST]] of the starting asset. In this case, we'll start with Wind Turbine #1. | ||
| + | |||
| + | 'Wind Turbine #1' ASSET | ||
| + | |||
| + | //This function returns an [[ASSETLIST]] containing Wind Turbine #1.// | ||
| + | |||
| + | Next, we search for the relationship we want to explore. In this case, we'll go with **Sequence**. | ||
| + | |||
| + | 'Wind Turbine #1' ASSET ' | ||
| + | |||
| + | //We now have our starting asset and the relationship we want to search.//. | ||
| + | |||
| + | Next, we specify the direction we want to search (' | ||
| + | |||
| + | ' | ||