package
0.7.0
Repository: https://github.com/smallstep/nosql.git
Documentation: pkg.go.dev

# Functions

IsErrNotFound returns true if the cause of the given error is ErrNotFound.
IsErrOpNotSupported returns true if the cause of the given error is ErrOpNotSupported.
WithBadgerFileLoadingMode is a modifier that sets the ValueLogLoadingMode of Badger db.
WithDatabase is a modifier that sets the Database attribute of Options.
WithValueDir is a modifier that sets the ValueDir attribute of Options.

# Constants

Badger FileLoadingMode constants.
Badger FileLoadingMode constants.
CmpAndSwap on a TxEntry will represent a compare and swap operation on the database.
CmpOrRollback on a TxEntry will represent a read transaction that will compare the values will the ones passed, and if they don't match the transaction will fail.
CreateTable on a TxEntry will represent the creation of a table or bucket on the database.
Delete on a TxEntry represent a command to delete data on the database.
DeleteTable on a TxEntry will represent the deletion of a table or bucket on the database.
Get on a TxEntry will represent a command to retrieve data from the database.
Set on a TxEntry will represent a command to write data on the database.

# Variables

ErrNotFound is the type returned on DB implementations if an item does not exist.
ErrOpNotSupported is the type returned on DB implementations if an operation is not supported.

# Structs

Entry
Entry is the return value for list commands.
NotSupportedDB is a db implementation used on database drivers when the no<driver> tags are used.
Options are configuration options for the database.
Tx represents a transaction and it's list of multiple TxEntry.
TxEntry is the base elements for the transactions, a TxEntry is a read or write operation on the database.

# Interfaces

DB is a interface to be implemented by the databases.

# Type aliases

Option is the modifier type over Options.
TxCmd is the type used to represent database command and operations.