SQLite Engineering Guide
Updated December 2026 · Disclosure: We build RowSlate, the VS Code & Cursor data workbench described below.
Modern apps — Rails 8, PocketBase, Electron apps, Cursor's state.vscdb, and local Python services — run SQLite in WAL (Write-Ahead Logging) mode by default. That creates two hidden traps when you inspect or patch a database inside VS Code:
app.db into a browser Uint8Array silently ignore uncommitted frames sitting inside app.db-wal. You stare at "missing" rows that your app just wrote.UPDATE without a WHERE clause or editing a live local fixture directly on disk leaves zero undo path once committed.Because RowSlate mounts your database through a custom 4 KB paged disk VFS inside the VS Code Extension Host (using short ASCII path aliases that preserve sibling -wal and -journal suffixes), SQLite reads your real on-disk state accurately — even on 250 MB+ databases and non-ASCII directory paths.
When you need to modify rows (fixing a local dev seed, toggling a feature flag, or cleaning test data), RowSlate Pro enforces a three-layer safety workflow:
.bak backup before write: clicking Apply Changes creates an automatic backup copy beside the database before executing the changes inside a single SQLite transaction.HEAD (or another snapshot) and export an explicit transactional .sql migration script for code review.RowSlate Free gives you unlimited-size SQLite viewing, WAL sidecar support, and a read-only SELECT SQL console with zero network calls. RowSlate Pro ($29 one-time lifetime or $19/yr, up to 3 devices, 14-day refund) unlocks staged inline SQLite editing with automatic .bak backups, full read/write SQL console, and transactional .sql diff exports.