I am using Parse and created a one-to-one relationship between two models (a location has a queue). How can I retrieve an attribute of the queue using just the location?
I am using Parse and created a one-to-one relationship between two models (a location
Share
I just started using Parse. According to their Android documentation, you need to add the queue ParseObject to the location ParseObject before you store them (or vice versa).
Assuming you put the relationship between the two in the location object, , you should be able to pull the queue with something like this:
Storing:
Retrieving: