Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

delete all of something in mongo shell

Removes ALL: db.<collectionName>.remove({})
Example: db.users.remove({id: 73465872012183})
Source by docs.mongodb.com #
 
PREVIOUS NEXT
Tagged: #delete #mongo #shell
ADD COMMENT
Topic
Name
6+6 =