Selector for the second row of a reciprocal add. Exactly one of id | signalKey | (key + value).

interface AccumulateReciprocalSelector {
    id?: string;
    key?: string;
    metadata?: Record<string, unknown>;
    payload?: Record<string, unknown>;
    roles?: string[];
    signalKey?: string;
    value?: unknown;
}

Properties

id?: string
key?: string
metadata?: Record<string, unknown>

Merged into the reciprocal row's GIN-indexed metadata in the same UPDATE, as metadata is into the container's. Reserved accumulate keys are rejected.

payload?: Record<string, unknown>

Stored as the reciprocal entry's payload.

roles?: string[]
signalKey?: string
value?: unknown