I am trying to create a query with multiple keys and variables, but can't figure out how to do so.
Example:
query.find().equalTo(userId, yTv1GkO479).equalTo(courseId, bozceN3JsT)
It seems like I only get the first or the last one... How do I accomplish this?
Here is how my code looks like:
const favorites = Parse.Object.extend("Favorites");
const query = new Parse.Query(favorites);
query.equalTo("userId", "yTv1GkO479");
query.equalTo("courseId", "bozceN3JsT");
const results = await query.find();
Hope someone can help in this matter and any help is appreciated :-)