func (bk *Bucket) MapRange(do func(k, v []byte) error, min, max []byte) error {
	return bk.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(bk.Name).Cursor()
		for k, v := c.Seek(min); isBefore(k, max); k, v = c.Next() {
			do(k, v)
		}
		return nil
	})
}
// MapRange applies `do` on each k/v pair of keys within range.
MapRange applies `do` on each k/v pair of keys within range.
// MapRange applies ` do ` on each k / v pair of keys within range .
func (bk *Bucket) MapRange(do func(k, v []byte) error, min, max []byte) error {
	return bk.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(bk.Name).Cursor()
		for k, v := c.Seek(min); isBefore(k, max); k, v = c.Next() {
			do(k, v)
		}
		return nil
	})
}
func ( bk * Bucket ) MapRange ( do func ( k , v [ ] byte ) error , min , max [ ] byte ) error { return bk . db . View ( func ( tx * bolt . Tx ) error { c := tx . Bucket ( bk . Name ) . Cursor ( ) for k , v := c . Seek ( min ) ; isBefore ( k , max ) ; k , v = c . Next ( ) { do ( k , v ) } return nil } ) }
MapRange applies `do` on each k/v pair of keys within range.
MapRange applies ` do ` on each k / v pair of keys within range .