robbiblubber.org

help | login | search:  
>>

show wiki  show source  compare to current  compare to previous  read  history 


db.dropDatabase()


MongoDB Driver Function Reference


Removes a database.
More information can be found in the corresponding entry of the MongoDB Manual.



db.dropDatabase(<name>)



Arguments


<name> Database name



Example


db.dropDatabase("company");


Removes the database named company.
















home | MongoDB Driver Function Reference | MongoDB Driver