Answers for "mongodb api delete document by id"

1

mongodb command remove by _id

db.test_users.deleteOne( {"_id": ObjectId("4d512b45cc9374271b02ec4f")});
Posted by: Guest on August-16-2021

Code answers related to "BASIC"

Browse Popular Code Answers by Language