# Variables
DefaultIteratorOptions .
DefaultOptions .
ErrConflict is returned when a transaction conflicts with another transaction.
ErrDiscardedTxn is returned if a previously discarded transaction is re-used.
ErrEmptyKey is returned if an empty key is passed on an update function.
ErrInvalidDump if a data dump made previously cannot be loaded into the database.
ErrInvalidLoadingMode is returned when opt.ValueLogLoadingMode option is not within the valid range.
ErrInvalidRequest is returned if the user request is invalid.
ErrKeyNotFound is returned when key isn't found on a txn.Get.
ErrManagedTxn is returned if the user tries to use an API which isn't allowed due to external management of transactions, when using ManagedDB.
ErrNoRewrite is returned if a call for value log GC doesn't result in a log file rewrite.
ErrReadOnlyTxn is returned if an update function is called on a read-only transaction.
ErrRejected is returned if a value log GC is called either while another GC is running, or after DB::Close has been called.
ErrReplayNeeded is returned when opt.ReadOnly is set but the database requires a value log replay.
ErrRetry is returned when a log file containing the value is not found.
ErrThresholdZero is returned if threshold is set to zero, and value log GC is called.
ErrTruncateNeeded is returned when the value log gets corrupt, and requires truncation of corrupt data to allow Badger to run properly.
ErrTxnTooBig is returned if too many writes are fit into a single transaction.
ErrValueLogSize is returned when opt.ValueLogFileSize option is not within the valid range.
ErrValueThreshold is returned when ValueThreshold is set to a value close to or greater than uint16.
ErrWindowsNotSupported is returned when opt.ReadOnly is used on Windows.
ErrZeroBandwidth is returned if the user passes in zero bandwidth for sequence.
# Type aliases
BeforeCommit .
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author