Data model query for Bi-directional relationships

  • 13 November 2023
  • 1 reply

I have a question about querying a data model using the CDF SDK.

In the Cognite SDK docs there is an example for retrieving actors in a movie ( from the following data model:

But if we would change this to finding which pumps belongs to a given facility from this data model (picture below), using a bi directional relationship between facility and pump, what changes must be made to the example from the sdk docs for this to work?


1 reply

Hi @Årne Reime For bi-directional relationships, you could refer to this document for more information.