rollbackable

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HasRollbackBatch

type HasRollbackBatch interface {
	RollbackBatch() tmdb.Batch
}

type RollbackableBatch

type RollbackableBatch struct {
	tmdb.Batch

	RollbackBatch tmdb.Batch
	RecordCount   int
	// contains filtered or unexported fields
}

func NewRollbackableBatch

func NewRollbackableBatch(db tmdb.DB) *RollbackableBatch

func (*RollbackableBatch) Delete

func (b *RollbackableBatch) Delete(key []byte) error

func (*RollbackableBatch) Set

func (b *RollbackableBatch) Set(key, value []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL