Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

mongodb command delete all

db.collention.deleteMany() 

// db.collection.remove() id deprecated.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #command #delete
ADD COMMENT
Topic
Name
1+2 =