Skip to content

Instantly share code, notes, and snippets.

@shannonbradshaw
Last active July 31, 2016 19:31
Show Gist options
  • Save shannonbradshaw/1bdfd6fcae2314e66f6a0e9360b4bcaf to your computer and use it in GitHub Desktop.
Save shannonbradshaw/1bdfd6fcae2314e66f6a0e9360b4bcaf to your computer and use it in GitHub Desktop.
Drop Database from the Command Line

Assume you have a MongoDB instance running on the default port. Using bash, powershell, or a similar application, write a statement that will drop a MongoDB database called products_test from the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment