Skip to main content

open_test_db

Function open_test_db 

Source
pub fn open_test_db(store_dir: StoreDir) -> Database
Expand description

The synthetic store’s schema and Database constructors, which the database layer owns and its own tests open directly. Open a Database over a fresh in-memory connection with the synthetic test schema and the test_synced_tables synced set.