pub fn open(path: &str) -> Result<Db>Expand description
Open a database.
That is the whole setup. There is no database to build before a connection,
no configuration to pass, no engine to choose, and no pool. The engine is
inferred from the path, and MEMORY is a path.
ยงErrors
Code::Unsupported for a path on disk, until the file format lands in
M5. Everything else about the API is the same either way, which is the
point of putting the front door in before the file.