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

436
Vistas
How to insert data into multiple tables in one request using sequelize?

I have three tables, and the relationship is as below. enter image description here

The object that I generate in the frontend and that I pass to the backend:

{
  name: "Model1",
  model_2: [
    {
      name: "Model2",
      model_3: [
        {
          name: "Model3"
        }
      ]
    }
  ]
}

I need to know how to make the relationships and how to pass the object to create in the module_1 controller so that it inserts the values.

How can I do it?

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