Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

150
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda