/* Example Usage */constmodel=...Someone Model(async () => {awaitmodel.findOneAndUpdate({ name:"Test" },{ $set:{ name:'Five So BeÅ' } });/*The "name" value that was Test is now Five So BeÅ*/})();
$set
Object
$set Operator Adjusts the Data on the Table with the Data Used in the Operator, You Can Think of It as a Sort of Bulk Write.