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 [[https://docs.mongodb.com/manual/reference/method/db.dropDatabase/index.html|MongoDB Manual]].


[[[@cG

db.dropDatabase(<name>)

]]]


**Arguments**

[[[@w

|@t0@r0@c0 <name> | | Database name. |

]]]


**Example**

[[[@cw

db.dropDatabase("company");

]]]

Removes the database named //company//.















----
[[Main|home]] | [[MongoDB Driver Function Reference]] | [[MongoDB Driver]]