parse.com - Parse Paging Results From GeoPoint Query -
we attempting page through results pfquery includes geopoint. seeing duplication , inconsistencies in returned records.
for example:
pfgeopoint *geopoint = [pfgeopoint geopointwithlatitude:41.90585396476684 longitude:-87.64885427269438]; [photo wherekey:@"location" neargeopoint:geopoint withinmiles:75]; photo.limit = 100; photo.skip = 100; will homecoming different results 2 users @ same location.
is technical limitation on parse?
the query contained sort:
[photo orderbydescending:@"createdat"]; removing sort produces right paging without duplication. results returned sorted distance.
parse.com data-paging
No comments:
Post a Comment