Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 407 Bytes

drop.md

File metadata and controls

19 lines (11 loc) · 407 Bytes

collection.drop

Mongo documentation

Drop the collection from the database, removing it permanently. New accesses will create a new collection.

Arguments

  1. [callback] (function)

Returns

A promise

Example

users.drop()