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

Add secondary index support to SnapshotMap. #255

Closed
ethanfrey opened this issue Mar 31, 2021 · 0 comments · Fixed by #271
Closed

Add secondary index support to SnapshotMap. #255

ethanfrey opened this issue Mar 31, 2021 · 0 comments · Fixed by #271
Assignees
Milestone

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Mar 31, 2021

Extend the SnapshotMap with a secondary index. The historical queries (snapshots) are only for the primary key. The secondary index is not snapshotted. Maybe this needs a new type (IndexedSnapshotMap) that wraps a snapshot map?

This would be useful for eg. adding a secondary index based on weight to any of the group contracts that use a snapshot map. But in general to allow composibiity between these two advanced functions (snapshots and indexes) allows much more power to storage-plus

@ethanfrey ethanfrey added this to the 0.6.0 milestone Mar 31, 2021
@ethanfrey ethanfrey changed the title Add optional list sorted by weight to cw4 Add secondary index support to SnapshotMap. Apr 12, 2021
This was referenced Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants