Custom Search

Monday, May 6, 2019

How to Delete everything in a MongoDB database

use
db.dropAllUsers()
db.dropAllRoles()
db.dropDatabase()

No comments:

Post a Comment