Filtering in Hierarchy

When the EQUALS/NOT_EQUALS and IN/NOT_IN operators are used in conjunction with an Id property of an asset, a RelationType or a Community can take an additional descendants: true parameter. When true, the query engine will force an IN or NOT_IN filter and add all Ids from the child assets, relation types or communities. This allows selecting the following assets.

  • All assets under a community, including the subcommunities.
  • All assets that are of type "X" or one of its subtypes.
  • All assets with all subtypes that implement trait "X".