Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow app devs to retrieve a list of keys in a bucket #22

Open
adamfowleruk opened this issue Oct 11, 2020 · 0 comments
Open

Allow app devs to retrieve a list of keys in a bucket #22

adamfowleruk opened this issue Oct 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@adamfowleruk
Copy link
Owner

Please start with a use case description for a USER of this work
[Who] As an application developer
[What] I need to list the keys in a bucket
[Value] In order to fetch only the keys in a particular bucket, reducing the number of DB queries I execute

Describe the solution you'd like
New function on KeyValueStore: getBucketKeys(const std::string& bucketName)

Describe alternatives you've considered
Manually going through keys is impossible - no key metadata returned, and no listAllKeys() function

Additional context
Implementing this will allow for a fair comparison of the performance of each store vs using a BucketQuery.

@adamfowleruk adamfowleruk added the enhancement New feature or request label Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant