Skip to content

Commit

Permalink
Clarify info about iterating over existing buckets
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
Signed-off-by: ErikKalkoken <erik.kalkoken@gmail.com>
  • Loading branch information
ErikKalkoken and ahrtr committed Aug 25, 2024
1 parent 32eef50 commit cc78c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ guarantee that they exist for future transactions.

To delete a bucket, simply call the `Tx.DeleteBucket()` function.

You can also iterate over all existing buckets with `Tx.forEach()`:
You can also iterate over all existing top-level buckets with `Tx.forEach()`:

```go
db.View(func(tx *bolt.Tx) error {
Expand Down

0 comments on commit cc78c83

Please sign in to comment.