To open a database in memory, we can use open_memory() of Database.
let db = Database::open_memory().unwrap();
After opening the database, we can use the variable, db
, to manipulate the database.
➡️ Next: Opening Databases In File Systems
📘 Back: Table of contents