Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete one pymongo

#db.collection.deleteOne() is outdated.
#deletes the first document that matches the object.
db.collection.delete_one({})
 
PREVIOUS NEXT
Tagged: #delete #pymongo
ADD COMMENT
Topic
Name
7+7 =