Skip to main content

init

Function init 

Source
pub async fn init(db_path: &Path) -> Result<Db, DbError>
Expand description

Open the database and apply migrations. Native callers should block_on this in main() before mounting.