Remote / foldkit-remote-drizzle
contextSharers
function · packages/remote-drizzle/src/columns.ts:39
function contextSharers(
sets: Readonly<Record<string, unknown>>,
columns: Readonly<Record<string, AnyColumn>>,
relations: Readonly<Record<string, RelationBinding>>,
): ReadonlyArray<{
readonly set: string
readonly member: string
readonly column: string
}>Each member stored on the column of a member Entity.sets names, that is
not set itself: the server writes the context's value to that column, and a
write of the other member overwrites it there.