Change the Requested Jobs Without Rewriting the Rest

New inspections arrive, existing ones change, and cancelled drafts leave the queue. Give each write a precise target and preserve newer information.

14 sections · 4 questions · 1 coding challenge

1 / 14

Describing a Set of Rows to Change

BOTIE

The early SEQUEL work described composable operations over tabular data. That set-oriented approach also means an update can target many records at once. The useful question becomes which rows satisfy the write’s predicate.

Modern dialects add ways to handle duplicate identities during insertion. SQLite’s UPSERT follows PostgreSQL-style ON CONFLICT syntax, with its own details. Our revision rule is an application policy layered on that mechanism; the database does not know which imported status is newer unless we specify it.

Sources for this history