Interface: QueryRelationMatch
Defined in: packages/sdk/src/types/query-engine-types.ts:147
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:148
mode?
optionalmode:"any"|"none"
Defined in: packages/sdk/src/types/query-engine-types.ts:150
relation
relation:
string
Defined in: packages/sdk/src/types/query-engine-types.ts:149
where?
optionalwhere:QueryPredicate|null
Defined in: packages/sdk/src/types/query-engine-types.ts:151