Class: Clear
new Clear()
Represents a DB clearing
Properties:
Name |
Type |
Description |
collection |
string
|
|
- Source:
Methods
-
execute(db, cleared, context, done)
-
Clear the collection
Parameters:
Name |
Type |
Description |
db |
Object
|
the mongodb connected db |
cleared |
Array.<string>
|
|
context |
Object
|
|
done |
function
|
|
- Source: