Skip to content

Allow IteratorOptions/DefaultIteratorOptions to use builder methods just like Options/DefaultOptions#2274

Open
Naelpuissant wants to merge 1 commit intodgraph-io:mainfrom
Naelpuissant:builder-for-iterator-options
Open

Allow IteratorOptions/DefaultIteratorOptions to use builder methods just like Options/DefaultOptions#2274
Naelpuissant wants to merge 1 commit intodgraph-io:mainfrom
Naelpuissant:builder-for-iterator-options

Conversation

@Naelpuissant
Copy link
Copy Markdown

Description

As proposed by #2224, add builder methods to IteratorOptions :

Example Usage

iterator := txn.NewIterator(badger.DefaultIteratorOptions.WithPrefix([]byte("some.prefix.")))

Checklist

  • Code compiles correctly and linting passes locally
  • Tests added for new functionality, or regression tests for bug fixes added as applicable

@Naelpuissant Naelpuissant requested a review from a team as a code owner May 1, 2026 11:39
…o use builder methods just like Options/DefaultOptions
@Naelpuissant Naelpuissant force-pushed the builder-for-iterator-options branch from 9fa6d83 to cb95af5 Compare May 1, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant