pub fn new(filename: &str) -> Db {
        Db {
            full_filename: Db::build_filename(filename),
            row_max: RowId(0),
            by_row_id: HashMap::new(),
            by_name: HashMap::new(),
            by_value: HashMap::new(),
        }
    }
/// Create new database in memory. The file is not created until `save()` is called.
Create new database in memory. The file is not created until `save()` is called.
Create new database in memory . The file is not created until ` save () ` is called .
pub fn new(filename: &str) -> Db {
        Db {
            full_filename: Db::build_filename(filename),
            row_max: RowId(0),
            by_row_id: HashMap::new(),
            by_name: HashMap::new(),
            by_value: HashMap::new(),
        }
    }
pub fn new ( filename : & str ) -> Db { Db { full_filename : Db :: build_filename ( filename ) , row_max : RowId ( 0 ) , by_row_id : HashMap :: new ( ) , by_name : HashMap :: new ( ) , by_value : HashMap :: new ( ) , } }
Create new database in memory.
Create new database in memory .
filename
&str
filename
&str