Session BRE04 Help

Correction exercice 1

db.inventory.updateMany({ $or : [{status : "C"}, {status : "D"}] }, { $mul : { qty : 1.5 }});

ou

db.inventory.updateMany( { status: {$in: ["C", "D"]}}, { $mul: { qty: 1.5 } } );
17 June 2025