Joined November 2014
·
Posted to
How-To Use Pointers/Relations - Parse.com JavaScript SDK
over 1 year
ago
Hi.
How can I set the query for a column of pointer class?
For example I would like to query the posts based on the postAuthor country.
This does not work:
var Posts = Parse.Object.extend("Posts");
var query = new Parse.Query(Posts);
query.include("postAuthor");
query.equalTo("postAuthor.country", selectedCountry);
Thanks for your answer in advance.
Thanks a lot for your feedback Zach..
It works..
Cheers
Tolga