Module papyrus_storage::db

source ·
Expand description

Basic structs for interacting with the db.

Low database layer for interaction with libmdbx. The API is supposedly generic enough to easily replace the database library with other Berkley-like database implementations.

Assumptions:

  • The database is transactional with full ACID semantics.
  • The keys are always sorted and range lookups are supported.

Guarantees:

  • The serialization is consistent across code versions (though, not necessarily across machines).

Modules§

  • Statistics and information about the database.

Structs§

Enums§

  • An error that can occur when interacting with the database.