Last active
January 17, 2022 07:48
-
-
Save bharatsewani1993/34aa305f21803f1e64c70a436d135e8b to your computer and use it in GitHub Desktop.
sequelize-update-query, sequlize-nodejs-update-function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = await leads.update({email:email},{returning: true,where:{active:1,id:id}}); | |
res.send({success:true, data:data}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment