I want to compare values of 2 objects, namely "Object" and "req.body" in my code example.
I will need to do logging with those values that are different. Any advice for this will be appreciated too!
Object.updateOne(
{objectName: req.params.objectName},
{$set: req.body})
.then(cb =>{
console.log(cb);
})