timofey
(Timofey)
1
I cannot get GeoPoint if I add in WhereClause “LIMIT 1” it fail.
BackendlessGeoQuery geoQuery = new BackendlessGeoQuery();
geoQuery.addCategory(UserGeoPoint.CATEGORY_USER);
geoQuery.putMetadata(UserGeoPoint.METADATA_KEY_OBJECT_ID, objectId);
geoQuery.setWhereClause("LIMIT 1");
Hi Timofey,
Is “objectId” in your example the same objectId assigned to the geo point?
Regards,
Mark
timofey
(Timofey)
3
Hi Mark,
Yes, “objectId” is saved in metadata.
Hi Timofey,
I understand it is saved in the metadata, but my question is whether the value of that objectId is the actual ID of the same geo point?
Regards,
Mark
In other words, do you know the ID (objectId) of the geo point you need to load from the server?
Mark
timofey
(Timofey)
6
Yes, object Id is actual. When i remove LIMIT 1, the request works fine, and I can get geoPoint with specified objectID.
timofey
(Timofey)
7
Additionally, it strange because it seems it worked fine some time ago.