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 store a native DB map and retrieve a subset of its keys #23

Open
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 app dev
[What] I need to store a whole map under one key, but just retrieve a subset of its keys on request
[Value] In order to achieve high performance in fetching minimum required information

Describe the solution you'd like
setKeyValue(Key,Map) - new Map meta type in GroundUpDB

Ideally the Map will be a wrapper rather than just an unordered_map so as not to restrict app developers. This may require #20 to be completed first though

Describe alternatives you've considered
Storing a dumb map is possible as of #20, but you have to retrieve the entire map for a key. Not performant for large maps across many records.

Additional context
May wish to revisit how Set is handled and make that a templated wrapper for all C++ set types too. This would require #20 to be completed.

@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