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 <[email protected]>
Signed-off-by: ErikKalkoken <[email protected]>
  • Loading branch information
ErikKalkoken and ahrtr committed Aug 26, 2024
1 parent 2618039 commit 77a08ff
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 77a08ff

Please sign in to comment.