Skip to content

Instantly share code, notes, and snippets.

@loufq
Last active August 29, 2015 14:00
Show Gist options
  • Save loufq/11202783 to your computer and use it in GitHub Desktop.
Save loufq/11202783 to your computer and use it in GitHub Desktop.
mongodb 删除数据库&删除表
bin/mongo
use test;
db.dropDatabase();
db.mytable.drop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment