Skip to content

better-sqlite3 5.4.0

  • Added support for online backups via the db.backup() method.
  • Added verbose mode, which allows you to log all SQL executed by a database connection.
  • You can now execute read-only SQL while retrieving data via stmt.iterate().
    • Previously, you would get a "database connection is busy" error.
    • This allows you to perform nested calls to stmt.iterate().
  • Removed the SQLITE_OMIT_TRACE compilation option.
  • Enabled the SQLITE_TRACE_SIZE_LIMIT=32 compilation option.