Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch interface {
Writer
// Commit writes all changes buffered in the batch to the underlying database.
Commit() error
// Close closes the batch without committing it.
Close() error
}
Batch is a set of write-only operations. The operations are buffered until Commit is explicitely called.
type Batcher ¶
type Batcher interface {
NewBatch() Batch
}
Batcher defines batch write operations for a key-value database.
Click to show internal directories.
Click to hide internal directories.