-
Notifications
You must be signed in to change notification settings - Fork 9
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
How many documents are queried? #207
Comments
Do you want to ask how many documents are retrieved at maximum as geoflutterfire_plus queries? The maxim number is not set by geoflutterfire_plus package, but for now you can't set |
Hi there, I was wondering if this is possible? https://stackoverflow.com/questions/62175796/limit-the-retrieve-of-documents-from-firebase-on-flutter Query query = cities.whereGreaterThan("population", 2500000L).orderBy("population").limit(2); // ascending order In your code for geoflutterfire_plus, i see this: I see you are doing the query with cloud firestore https://firebase.google.com/docs/firestore/query-data/order-limit-data#dart Could the query be changed to: |
It is possible to add However, you can't set |
Maybe we could change the docs of this page. It says
After reading this thread it makes sense, but on my first read I thought that limit-queries (without orderBy) aren't supported either. |
Thank you! I'll think about updating README to avoid confusion! |
In the documentation:
🚨 Limitation: currently limit and orderBy queries are not supported because of the geo hash query algorithm and Cloud Firestore query limitations. Alternatively documents can be sorted on client side after getting the data (documents).
I would like to ask, how many documents are queried maximum?
The text was updated successfully, but these errors were encountered: