Created
August 9, 2020 20:27
-
-
Save parzibyte/4a9dd30cfc9c82ef219c93188e892721 to your computer and use it in GitHub Desktop.
This file contains 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
await TuModelo.update({ | |
campo: "nuevo_valor", | |
otro_campo: "otro_valor", | |
// ... | |
}, { | |
where: { | |
campo: "determinada_condición", | |
otro_campo: "otra_condición (sería como usar and)", | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment