package
7.1.0-beta+incompatible
Repository: https://github.com/injectivelabs/0x-mesh.git
Documentation: pkg.go.dev

# Functions

Open creates a new database using the given file path for permanent storage.

# Variables

No description provided by the author
No description provided by the author

# Structs

AlreadyExistsError is returned whenever a model with a specific ID should not already exists in the database but it does.
Collection represents a set of a specific type of model.
ConflictingOperationsError is returned when two conflicting operations are attempted within the same transaction.
DB is the top-level Database.
Filter determines which models to return in the query and what order to return them in.
GlobalTransaction is an atomic database transaction across all collections which can be used to guarantee consistency.
Index can be used to search for specific values or specific ranges of values for a collection.
NotFoundError is returned whenever a model with a specific ID should be found in the database but it is not.
Query is used to return certain results from the database.
Snapshot is a frozen, read-only snapshot of a DB state at a particular point in time.
Transaction is an atomic database transaction for a single collection which can be used to guarantee consistency.

# Interfaces

Model is any type which can be inserted and retrieved from the database.