Add PutMany, currently only for bbolt and hashmap storage backends

This commit is contained in:
Daniel 2020-04-09 14:22:22 +02:00
parent 35ab2be6a0
commit e0f96d5188
10 changed files with 246 additions and 12 deletions

View file

@ -10,6 +10,7 @@ import (
type Interface interface {
Get(key string) (record.Record, error)
Put(m record.Record) error
PutMany() (batch chan record.Record, err chan error)
Delete(key string) error
Query(q *query.Query, local, internal bool) (*iterator.Iterator, error)