Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Titanium SDK - Query ACS different objects with a relation

$
0
0

Hi there, i'm new with this platform and i'm developing my first Titanium app with ACS.

On ACS I have several Photos object with a custom field 'entityId' which logically connects them to a custom object called Entity. Each Entity has a location [lon,lat], so i would like to use a geo query to look for all the Photos belonging to an Entity that is situated near a given location. (kind of an inner join on a sql db with a clause like "where photo.entityId = entity.id")

How could i make this kind of query with acs? Should i make a query for all the entities in location and then make a query for the photos with each entity id i get in result? Isn't there a better way?

Thanks for your help


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>