robbiblubber.org

help | login | search:  
>>

read  source  history 


dropDatabase()


MongoDB Driver Function Reference


Drops 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