pub mod export;
mod api;
mod batch;
mod cf;
mod clock;
mod ds;
mod key;
mod live;
mod node;
mod scanner;
mod stash;
mod tr;
mod tx;
mod version;
mod fdb;
mod indxdb;
mod mem;
mod rocksdb;
mod surrealcs;
mod surrealkv;
mod tikv;
pub(crate) mod cache;
#[cfg(not(target_family = "wasm"))]
mod index;
#[cfg(any(
feature = "kv-tikv",
feature = "kv-fdb",
feature = "kv-indxdb",
feature = "kv-surrealcs",
))]
mod savepoint;
#[cfg(test)]
mod tests;
mod util;
pub(crate) use key::impl_key;
pub use key::{KeyDecode, KeyDecodeOwned, KeyEncode};
pub use ds::Datastore;
pub use live::Live;
pub use tr::{Check, LockType, TransactionType, Transactor};
pub use tx::Transaction;
#[cfg(not(target_family = "wasm"))]
pub(crate) use index::{ConsumeResult, IndexBuilder};
pub type Key = Vec<u8>;
pub type Val = Vec<u8>;
pub type Version = u64;