Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

124
Views
Parse Query with multiple keys and variables

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 :-)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!