Answers for "mongodb drop tables"

Go
0

MongoDb drop

1	db.coll.drop()    // removes the collection and its index definitions
2	db.dropDatabase() // double check that you are *NOT* on the PROD cluster... :-)
Posted by: Guest on January-01-2022

Browse Popular Code Answers by Language