Knex.js Transaction Architecture: Pool Safety, Savepoints, and Failure Boundaries
Knex.js transactions bind multiple queries to one pooled connection. This architecture note covers the smallest safe design, trust boundaries around driver commit behavior, and the operational checks that prevent pool exhaustion and silent data drift.