Abstract database behind generic interface and implement alternative drivers #322
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ impl SqliteDbInner {
|
||||||
|
|
||||||
impl IDb for SqliteDb {
|
impl IDb for SqliteDb {
|
||||||
fn engine(&self) -> String {
|
fn engine(&self) -> String {
|
||||||
"Sqlite3 (using rusqlite crate)".into()
|
format!("sqlite3 v{} (using rusqlite crate)", rusqlite::version())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn open_tree(&self, name: &str) -> Result<usize> {
|
fn open_tree(&self, name: &str) -> Result<usize> {
|
||||||
|
|
Loading…
Reference in a new issue