The easiest way to do this is to call .reset()
[docs] on the collection.
Calling
collection.reset()
without passing any models as arguments will empty the entire collection.
i.e.
collection.reset();
The easiest way to do this is to call .reset()
[docs] on the collection.
Calling
collection.reset()
without passing any models as arguments will empty the entire collection.
i.e.
collection.reset();