Answers for "mongodb mongoose update delete key"

0

mongodb mongoose update delete key

db.products.update(
   { sku: "unknown" },
   { $unset: { quantity: "", instock: "" } }
)
Posted by: Guest on March-18-2021

Browse Popular Code Answers by Language