Triggers Updating FTS Tables Cause Transaction Rollbacks in SQLite
Transaction Rollback Due to FTS Table Updates via Triggers During Multi-Table Insertion The core issue involves a transaction that fails when triggers attempt to update Full-Text Search (FTS) virtual tables during multi-step insertions into related base tables. The failure occurs specifically when using the Better-Sqlite3 library in JavaScript, though the same SQL statements succeed when…