bee_storage/access/mod.rs
1// Copyright 2020-2021 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4//! This module forms the access layer of the backend which holds the contracts of unified database access operations
5//! across all the backends and Bee types.
6
7/// Holds the contract for batch access operation.
8mod batch;
9/// Holds the contract for delete access operation.
10mod delete;
11/// Holds the contract for exist access operation.
12mod exist;
13/// Holds the contract for fetch access operation.
14mod fetch;
15/// Holds the contract for insert access operation.
16mod insert;
17/// Holds the contract for iter access operations.
18mod iter;
19/// Holds the contract for multiple fetch access operation.
20mod multi_fetch;
21/// Holds the contract for truncate access operations.
22mod truncate;
23/// Holds the contract for update access operations.
24mod update;
25
26pub use self::{
27 batch::{Batch, BatchBuilder},
28 delete::Delete,
29 exist::Exist,
30 fetch::Fetch,
31 insert::{Insert, InsertStrict},
32 iter::AsIterator,
33 multi_fetch::MultiFetch,
34 truncate::Truncate,
35 update::Update,
36};