Darshan N

Results 18 comments of Darshan N

@khalilchoudhry Using `where` for more than one range filters is not allowed by firestore as mentioned [here](https://firebase.google.com/docs/firestore/query-data/queries). Since the API already does a range filter on geohashes internally, this won't...

@victorvargass logout from all your Google accounts except for the project's Google account and try the same!

@razbakov The document data has a new property called `id` mapped from the library, the value of the `id` field is the `documentID` or key.

Hey @momoDragon this library doesn't support `limit()` and `sortBy()`, in case you use `limit()` it'll run limit on all 9 queries individually. This was discussed on other threads as well....

[This](https://github.com/DarshanGowda0/GeoFlutterFire/issues/21#issuecomment-489356920) should give you a better explanation.

There's no way to set a hard limit in this library as explained in #21, the best alternative would be to set `limit(1)` on your query, which would read 1...

Hey @momoDragon! I believe yes, you'll be charged at least once per query even if you don't get back any results as mentioned in the cloud_firestore docs - [https://firebase.google.com/docs/firestore/pricing#minimum-charge](https://firebase.google.com/docs/firestore/pricing#minimum-charge)

@momoDragon to access the doc in the neighboring geohash box and not inside radius you can set the `strictMode` to false! And the requirement you stated can be done using...

[This](https://github.com/DarshanGowda0/GeoFlutterFire/blob/ca14deb1cf899d4fed9011dbd447a8e1323e312a/lib/src/collection.dart#L145) is the actual query, and its a run on 9 geo-hashes - 1 center, and 8 surroundings which is then used to create streams as shown [here](https://github.com/DarshanGowda0/GeoFlutterFire/blob/ca14deb1cf899d4fed9011dbd447a8e1323e312a/lib/src/collection.dart#L90). So, **there's...

Happy to help 😄 I guess we'll need a getDocuments() with Futures implementation as well, along with streams? replacing `ref.snapShots()` with `ref.getDocuments()` [here](https://github.com/DarshanGowda0/GeoFlutterFire/blob/ca14deb1cf899d4fed9011dbd447a8e1323e312a/lib/src/collection.dart#L149) should help you get futures instead of...