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

147
Views
Do I need to Implement Controller with PostgreSql

I'm working on a project and want to achieve a clean coding, but I'm a bit confused about controllers, from research its seems like they are most likely used while working with a NoSql databases that requires model, to cut it short I'm working with PostgreSql do I need to implement that or do i have to stick with the routes, any suggestion is appreciated.

Thanks in Advance.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Turns out I can create a model even though I'm not using a NoSql database. This solved my issue.

about 4 years ago · Juan Pablo Isaza Report

0

Actually, the controllers are functions/methods that are used to handle the logic of the routes. About models, they're a way to abstract the entities that you have on your application and how they'll be structured on your database (be it SQL or NoSQL). And you can always use libraries (ORMs, QueryBuilders) that abstract the way that you deal with databases, for SQL databases I personally use on my projects TypeORM (for large project Knex (for simple ones). :)

about 4 years ago · Juan Pablo Isaza 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!