Performing a GeoFire Query on a nested object with array in Flutter
Closed this issue · 1 comments
Beautylivery commented
Hello together,
is it even possible to perform a request on a nested query with array with this lib on a CollectionGroup ?
I try to query for this GeoFirePoint in my DB
but i have to admit, struggle with the field to define as well as it contains an array.
Is this the right term for the Stream Setup ?
Stream<List<DocumentSnapshot>> fullServiceCollectionGroup = geo .collection( collectionRef: FirebaseFirestore.instance.collectionGroup('professional')) .within( center: geoPoint, radius: radius, field: 'serviceArea.serviceLocationList.position.geoFirePoint');
Or am i maybe just wrong with my Index ?
Hope for your help :)
Thanks a lot
Beautylivery commented
Sorry wrong package