make map driver type for faster tests
This commit is contained in:
@@ -31,7 +31,7 @@ func NewBoltDB(path string) *BoltDB {
|
||||
}
|
||||
}
|
||||
|
||||
func (bdb *BoltDB) count(ctx context.Context, namespace string, filter interface{}) (int, error) {
|
||||
func (bdb *BoltDB) Count(ctx context.Context, namespace string, filter interface{}) (int, error) {
|
||||
ch, err := bdb.Find(ctx, namespace, filter)
|
||||
n := 0
|
||||
for _ = range ch {
|
||||
|
||||
Reference in New Issue
Block a user