Link Search Menu Expand Document

Query node

How to use the Query node

Overview

The query node is meant to return all items (alongside the specified attributes) that match the provided query. A query operation is always executed on ONE dodi code.

Additionally, since the amount of requested data might be very large, you can filter on the attributes of items within the data. If you do not specifiy any attributes, only the basic item information will be returned. If you specify attributes only that data will be returned in the response. It is also possible to use the All keyword to request all the attributes.

Note

Always request only what you need, because the gain in terms of performances and reduced system strain can be massive, even if just one attribute is removed.

Examples


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.