Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

148
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda