Created
January 18, 2022 13:28
-
-
Save petrosDemetrakopoulos/c3fdb912450108836bafc3e4a17c7b03 to your computer and use it in GitHub Desktop.
Ethairballoons updateById
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
var updatedCarObject = { engine: 'V9', wheels: 4 }; | |
Car.updateById('Audi A4', updatedCarObject, function (err, updatedObject) { | |
if (!err) { | |
console.log('object updated successfully'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment