robbiblubber.org

help | login | search:  
>>

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


db.dropCollection()


MongoDB Driver Function Reference


Removes 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