interface DataModelsNestedFilter {
    nested: {
        filter: FilterDefinition;
        scope: string[];
    };
}

Properties

Properties

nested: {
    filter: FilterDefinition;
    scope: string[];
}

Use nested to apply the properties of the direct relation as the filter. scope specifies the direct relation property you want use as the filtering property.

Example:

  {
"nested": {
"scope": ["some", "direct_relation", "property"],
"filter": {
"equals": {
"property": ["node", "name"],
"value": "ACME"
}
}
}