Files
2025-12-19 16:37:47 +00:00
..
2025-08-21 18:44:40 +01:00
2025-12-19 16:37:47 +00:00
2025-09-29 12:52:01 +01:00
2025-09-29 12:52:01 +01:00
2025-12-19 16:37:47 +00:00
2025-10-01 11:00:13 +01:00

Go mvcc SQLite VFS

This package implements the EXPERIMENTAL "mvcc" in-memory SQLite VFS.

It has some benefits over the "memdb" VFS:

  • panics do not corrupt a shared database,
  • single-writer not blocked by readers,
  • readers never block,
  • instant snapshots.

mvcc.TestDB is the preferred way to setup an in-memory database for testing when you intend to leverage snapshots, e.g. to setup many independent copies of a database, such as one for each subtest.