Skip to main content

QueryRelationMatch

@gravity-rail/sdk


@gravity-rail/sdk / QueryRelationMatch

Interface: QueryRelationMatch

Correlated EXISTS over a named related-entity relation (the RecordMatch pattern generalized): all conditions in where apply to the SAME related row. Relations and their sub-fields come from QueryFieldsResponse.relations (e.g. member workflowEntries → entry.workflowId / entry.status / entry.enteredAt; calendarEvents → event.calendarId / event.typeId / event.startTime).

  • any → EXISTS(match)
  • none → NOT EXISTS(match), members with no related rows DO match

Properties​

kind​

kind: "relationMatch"


mode?​

optional mode: "none" | "any"


relation​

relation: string


where?​

optional where: QueryPredicate | null