Crate grovedb_storage

source ·
Expand description

Storage abstraction for GroveDB.

Re-exports

  • pub use crate::error::Error;

Modules

Structs

  • Structure to hold deferred database operations in “batched” storage_cost contexts.

Traits

  • Database batch (not to be confused with multi-tree operations batch).
  • Allows to iterate over database record inside of storage_cost context.
  • Top-level storage_cost abstraction. Should be able to hold storage_cost connection and to start transaction when needed. All query operations will be exposed using StorageContext.
  • Storage context. Provides operations expected from a database abstracting details such as whether it is a transaction or not.

Type Definitions