Skip to content

Add epoch-range storage query: get_user_data_in_range#489

Open
albonec wants to merge 1 commit into
facebook:mainfrom
albonec:issue-165-epoch-range-storage
Open

Add epoch-range storage query: get_user_data_in_range#489
albonec wants to merge 1 commit into
facebook:mainfrom
albonec:issue-165-epoch-range-storage

Conversation

@albonec
Copy link
Copy Markdown

@albonec albonec commented May 30, 2026

Summary

  • Adds get_user_data_in_range(username, start_epoch, end_epoch) to the Database trait
  • Implements it in AsyncInMemoryDatabase, Transaction, StorageManager, and AsyncMySqlDatabase
  • MySQL implementation pushes the range filter to the query layer to avoid over-fetching

Closes #165

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 30, 2026
@albonec
Copy link
Copy Markdown
Author

albonec commented May 30, 2026

@slawlor Pretty late to this issue but saw it was open so giving it a shot! Please do respond when you can!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Storage contract for values between epoch range

1 participant