📌  相关文章
📜  drop mongo 数据库 - Go 编程语言代码示例

📅  最后修改于: 2022-03-11 14:44:59.722000             🧑  作者: Mango

代码示例1
// First show what databases have you gotten 
show dbs
// then, use the database name that you want to drop
use YOUR_DATABASE_NAME
// now you can drop it
db.dropDatabase()
// show collections should be empty now
show collections