Link Search Menu Expand Document

Join node

How to use the Join node

Overview

The join allows you to perform a query including additional linked information specified by an AQS path ending in the attribute that you want to include.

Example

This query is going to match all trees in the system but it also returns the job number of all jobs connected to the trees and the budget ids of all the job work items connected to the jobs connected to the trees.

{
  "type": "Join",
  "properties": {
    "dodiCode": "designInterfaces_trees",
    "joinAttributes": [
      // attributes to join
      "root.attributes_tasksAssignableTasks.attributes_jobsJobWorkItems.attributes_workItemsBudget",
      "root.attributes_tasksAssignableTasks.attributes_jobsNumber"
    ]
  }
}

Alloy is a Yotta Product
Yotta is a Connected Asset Management Software and Services company.
Our aspiration is to transform the management of the built world to create safer, cleaner and more sustainable places for everyone. Find out more about us here.