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

194
Views
How to do array parameters in prisma?

How can I do querying like this in prisma?

http://localhost://3000/api/users?[param1]=[value1]&[param2]=[value2]&......

Or param1, param2....can be from different model

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

req.query is object that contain query string that enter in the url and you access with req.query

const age = req.query.param1;
const score = req.query.param2;

const users = await prisma.users.findMany ({
  where: {
    age  , 
    score
  }
});
over 4 years ago · Santiago Trujillo Report
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!