databaseFactoryMemory top-level property

DatabaseFactory get databaseFactoryMemory

The in memory factory (no storage).

A global factory: opening the same path twice gives the same database until it is closed, and its content is lost when it is closed. For unit tests, newDatabaseFactoryMemory gives a new empty factory per test.

Implementation

DatabaseFactory get databaseFactoryMemory => memory.databaseFactoryMemory;