robbiblubber.org

help | login | search:  
>>

read  source  history 


dropCollection()


MongoDB Driver Function Reference


Drops a collection.
More information can be found in the corresponding entry of the MongoDB Manual.



db.dropCollection(<name>)



Arguments


<name> Collection name.



Example


db.dropCollection("bosses");


Removes the collection named bosses.















home | MongoDB Driver Function Reference | MongoDB Driver