jldb/mdb/index_test.go
2023-12-24 20:41:43 +01:00

9 lines
126 B
Go

package mdb
func (i Index[T]) Dump(tx *Snapshot) (l []T) {
for t := range i.Ascend(tx) {
l = append(l, *t)
}
return l
}