Skip to content

feat(query) enable support for DocumentSnapshot with start/endAt #257

Open
@goleary

Description

What is the feature?
enable passing a DocumentSnapshot to a query
https://firebase.google.com/docs/reference/js/firebase.firestore.Query#start-at

Do you have thoughts/examples on how the feature would be used (i.e. API)?

I'm trying to implement a table that allows me to page through the documents returned by a query. Because of duplication of properties of the documents I cannot reliable use these properties to paginate. I need to use startAt/endAt with an actual DocumentSnapshot passed to ensure I am not missing any documents. This behaviour is talked about in the firestore docs

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions