I would like to know if there\'re a command to drop every databases from my MongoDB?
I know if I want to drop only one datatable, I just need to type the name of the dat
You can do it easy through c# official driver:
var _mongoServer = MongoServer.Create("mongodb://localhost:27020"); var names = _mongoServer.GetDatabaseNames(); foreach (var name in names) { _mongoServer.DropDatabase(name); }