Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

delete all documents in a collection mongodb

#delete all the items of a given collection 
db.campaigns.deleteMany({})
 
PREVIOUS NEXT
Tagged: #delete #documents #collection #mongodb
ADD COMMENT
Topic
Name
6+4 =