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

developers should be able to sort uploads lists #194

Open
travis opened this issue Dec 16, 2022 · 0 comments
Open

developers should be able to sort uploads lists #194

travis opened this issue Dec 16, 2022 · 0 comments

Comments

@travis
Copy link
Member

travis commented Dec 16, 2022

since we support pagination, we should also support sorting of some sort. it's a bit unspec'd exactly what we'd let people sort by, so I'm opening this issue to start tracking ideas and implementation.

inspired by a conversation with @alanshaw

My instinct was that this list should be timestamp sorted, but actually if you look at most other KV stores (including S3/R2) there is no way to list items other than lexicographically by key. So it’s unfortunate, but not inconsistent. I want to get to a place where we can build an abstraction on top of this allowing users to pick keys and sort them according to their requirements. It could just be a library, but it could also be used by w3console!

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

No branches or pull requests

1 participant