-
Notifications
You must be signed in to change notification settings - Fork 78
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 DocumentSnapshot cursors #56
Comments
@schmidt-sebastian As per my research i think python supports
python-firestore/google/cloud/firestore_v1/query.py Lines 475 to 480 in b1c5987
|
@HemangChothani Sorry, I missed this completely. Would it be possible to rename The reason I looked at this was to figure out whether the Python SDK considers "IN" filters to be equality cursors. I am not able to decipher the code to provide an answer (
|
@schmidt-sebastian Yes, I have opened a PR #58
I think "IN" filter is not considered as a equality cursors. If i compare the python code it is similar to the old java code, but still need a conformation. This line is not going to execute for python-firestore/google/cloud/firestore_v1/query.py Lines 636 to 637 in b1c5987
For better view i think need to concern @crwilcox |
@crwilcox Any suggestion on |
@schmidt-sebastian I thinks this issue is resolved and only the operations GREATER_THAN, GREATER_THAN_OR_EQUALS, LESS_THAN or LESS_THAN_OR_EQUALS should be used to compute the implicit cursor. python-firestore/google/cloud/firestore_v1/base_query.py Lines 682 to 689 in be98897
so closing this issue for now, feel free to reopen if it doesn't fulfill the requirements. |
Sounds good. Thanks for clarifying and sorry for the confusion. |
The Python client should add support for DocumentSnapshot-based cursors.
See https://github.com/googleapis/java-firestore/blob/master/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java#L853 or https://github.com/googleapis/nodejs-firestore/blob/master/dev/src/reference.ts#L1663
The text was updated successfully, but these errors were encountered: