Remote / foldkit-remote-drizzle
StoredRelation
type · packages/remote-drizzle/src/compile.ts:75
type StoredRelation =
| {
readonly kind: 'one'
readonly field: AnyColumn
}
| {
readonly kind: Exclude<RelationBinding['kind'], 'one'>
}How a relation is stored, as far as compiling reads it: a one by the column it is stored on.