Skip to main content
added 54 characters in body
Source Link
Rimian
  • 38.7k
  • 17
  • 127
  • 119

In the mongo shell:

use [database];
db.dropDatabase();

Ruby code is pretty similar. And to remove the users:

db.dropAllUsers();

In the mongo shell:

use [database];
db.dropDatabase();

Ruby code is pretty similar.

In the mongo shell:

use [database];
db.dropDatabase();

And to remove the users:

db.dropAllUsers();
added 142 characters in body
Source Link
Josh K
  • 28.9k
  • 20
  • 89
  • 132

In the mongo shell:

use [database];
db.dropDatabase();

Ruby code is pretty similar.

use [database];
db.dropDatabase();

In the mongo shell:

use [database];
db.dropDatabase();

Ruby code is pretty similar.

removed the link since it is not the case anymore
Source Link
use [database];
db.dropDatabase();

Ruby code should be pretty similar.

use [database];
db.dropDatabase();

Ruby code should be pretty similar.

use [database];
db.dropDatabase();
added 3 characters in body
Source Link
Josh K
  • 28.9k
  • 20
  • 89
  • 132
Loading
Source Link
Josh K
  • 28.9k
  • 20
  • 89
  • 132
Loading