newDatabaseFactoryMemory function

DatabaseFactory newDatabaseFactoryMemory()

Create a new empty factory

Nothing is saved. Use one per unit test so that tests do not share data:

var db = await newDatabaseFactoryMemory().openDatabase('test.db');

Implementation

DatabaseFactory newDatabaseFactoryMemory() => memory.DatabaseFactoryMemory();