//deleting the data in mongo db
db.items.find({name:'T phone'})
// single entry ko remove karne ke liye use hoti hai
db.items.deleteOne({name:'T phone'})
// multiple entry ko delete karne ke liye
db.items.deleteMany({name:'T phone'})
//deleting the data in mongo db
db.items.find({name:'T phone'})
// single entry ko remove karne ke liye use hoti hai
db.items.deleteOne({name:'T phone'})
// multiple entry ko delete karne ke liye
db.items.deleteMany({name:'T phone'})
0Comments
Thanks you for commenting your questions. I will see question and respond you.