pub struct Db { /* private fields */ }
Implementations§
source§impl Db
impl Db
pub fn with_columns(path: &Path, num_columns: u8) -> Result<Db>
sourcepub fn open_or_create(options: &Options) -> Result<Db>
pub fn open_or_create(options: &Options) -> Result<Db>
Create the database using given options.