Page 1 of 1

Fetching collection records matching a variable value

Posted: Wed Jul 09, 2014 2:47 am
by Anil Sagar

Have gone through the where clause documentation on appery. I can see how to use where clause against a fixed/default value that can be defined in 'request' tab while defining the DB service. But how can I use it to fetch all DB collection records that matches a variable whose value keeps changing.

For example: My app users will login via facebook api. I will use their FB Id to match against a DB collection and fetch all relevant records. This FB Id will keep changing depending on the user. How can I fetch records relevant to a particular user using this method?


Fetching collection records matching a variable value

Posted: Wed Jul 09, 2014 3:42 am
by Alena Prykhodko