jldb/mdb/types.go

9 lines
225 B
Go
Raw Normal View History

2023-10-13 09:43:27 +00:00
package mdb
type collection interface {
Name() string
insertItem(tx *Snapshot, itemID uint64, data []byte) error
upsertItem(tx *Snapshot, itemID uint64, data []byte) error
deleteItem(tx *Snapshot, itemID uint64) error
}