Macro kaspa_database::create_temp_db
source · macro_rules! create_temp_db { ($conn_builder: expr) => { ... }; }
Expand description
Creates a DB within a temp directory under <OS SPECIFIC TEMP DIR>/kaspa-rust
Callers must keep the TempDbLifetime guard for as long as they wish the DB to exist.