Interface: QueryRelationMatch
Defined in: packages/sdk/src/types/query-engine-types.ts:158
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"
Defined in: packages/sdk/src/types/query-engine-types.ts:159
mode?
optionalmode:"any"|"none"
Defined in: packages/sdk/src/types/query-engine-types.ts:161
relation
relation:
string
Defined in: packages/sdk/src/types/query-engine-types.ts:160
where?
optionalwhere:QueryPredicate|null
Defined in: packages/sdk/src/types/query-engine-types.ts:162