Fetching collection records matching a variable value
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?