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

support read_time queries #775

Open
daniel-sanche opened this issue Oct 5, 2023 · 1 comment · May be fixed by #1013
Open

support read_time queries #775

daniel-sanche opened this issue Oct 5, 2023 · 1 comment · May be fixed by #1013
Assignees
Labels
api: firestore Issues related to the googleapis/python-firestore API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone

Comments

@daniel-sanche
Copy link
Contributor

The firestore API exposes a read_time option, which can be used to query the database at a specific point in time. We should expose this in the hand-written layers

@daniel-sanche daniel-sanche added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Oct 5, 2023
@daniel-sanche daniel-sanche self-assigned this Oct 5, 2023
@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/python-firestore API. label Oct 5, 2023
@carlospero
Copy link

This read_time feature underpins PITR queries, yes? Highly useful there obviously.

I also recently read in the docs it can be used for more performant queries too:
https://firebase.google.com/docs/firestore/understand-reads-writes-scale#stale_reads

Adding support for this might be very appreciated by the community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/python-firestore API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
2 participants