Files
sqlite3/vfs/memdb
Nuno Cruces ea860e407d Docs.
2025-10-01 11:00:13 +01:00
..
2024-10-25 00:12:29 +01:00
2025-10-01 11:00:13 +01:00
2024-10-22 23:36:38 +01:00
2024-10-25 13:49:06 +01:00
2025-07-23 09:57:53 +01:00
2025-10-01 11:00:13 +01:00

Go memdb SQLite VFS

This package implements the "memdb" SQLite VFS in pure Go.

It has some benefits over the C version:

  • the memory backing the database needs not be contiguous,
  • the database can grow/shrink incrementally without copying,
  • reader-writer concurrency is slightly improved.

memdb.TestDB is the preferred way to setup an in-memory database for testing.