Metakit / @doeixd/metakit/store

Judged

type · packages/metakit/src/store.ts:61

type Judged = 'in-statement' | 'read-first' | 'constraint'

Where a writer judges a rule. in-statement: inside the statement, or the one batch, that writes, over the rows as that statement finds them. read-first: from a read made before the statement that writes. constraint: by a constraint the database itself enforces (a foreign key), which takes its own locks, whatever the isolation.