Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var geoQuerySpecific = GFGeoHashQuery()
- let geoQueryHash = GFGeoHashQuery.queries(forLocation: (lastLocation?.coordinate)!, radius: (30)) as! Set<GFGeoHashQuery>
- for query in geoQueryHash {
- geoQuerySpecific = query
- print("the key is this um (geoQuerySpecific)")
- }
- print("the starting value is (geoQuerySpecific.startValue) and the end value is (geoQuerySpecific.endValue)")
- let nearQuery = Firestore.firestore().collection("stuff").order(by: "g").whereField("g", isGreaterThanOrEqualTo: geoQuerySpecific.startValue).whereField("g", isLessThanOrEqualTo: geoQuerySpecific.endValue)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement