Abstract database behind generic interface and implement alternative drivers #322

Merged
lx merged 64 commits from db-abstraction into main 2022-06-08 08:01:56 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit daec7995c3 - Show all commits

View file

@ -10,7 +10,7 @@ use heed::{BytesDecode, Env, RoTxn, RwTxn, UntypedDatabase as Database};
use crate::{
Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxOpError, TxOpResult, TxResult,
Value, ValueIter, TxValueIter
TxValueIter, Value, ValueIter,
};
pub use heed;

View file

@ -11,7 +11,7 @@ use sled::transaction::{
use crate::{
Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxOpError, TxOpResult, TxResult,
Value, ValueIter, TxValueIter
TxValueIter, Value, ValueIter,
};
pub use sled;

View file

@ -12,7 +12,7 @@ use rusqlite::{params, Connection, Rows, Statement, Transaction};
use crate::{
Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxOpError, TxOpResult, TxResult,
Value, ValueIter, TxValueIter
TxValueIter, Value, ValueIter,
};
pub use rusqlite;