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

195
Views
cómo verificar que el registro esté actualizado o no usando la secuencia

En este bloque de código actualicé un registro de un modelo IPAdress.

¿Cómo puedo comprobar ahora que el registro se ha actualizado o no?

 let IPAdress = await model.IPAdress.update(data,{ where: { id } });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

if index 0 of an array is 0 then it mean that record has not updtaed yet. let IPAdress = await model.IPAdress.update(data,{ where: { id } }); if(IPAdress[0] == 0) throw "Error Message"; else { print("record has been updated ");
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!