X_N_PLUS_ONE_WRITE
Means
a write repeated once per row
Typical cause
one insert, update or delete per row of a set, where one statement writes all of them. Same four surfaces as the read above, same ledger, and the same throw inside the statements fixture
Fix
the bulk form of the same call: db.posts.insertAll(rows), db.posts.updateWhere(filter, patch), db.posts.deleteWhere(filter) — or expectedQueryLoop('<why>', fn) when the loop is deliberate