new Insertion()
Represents a DB insertion
- Source:
Properties:
Name | Type | Description |
---|---|---|
name |
string | |
collection |
string | |
value |
Obj |
Members
-
collection :string
-
Type:
- string
- Source:
-
name :string
-
Type:
- string
- Source:
-
value :Obj
-
Type:
- Source:
Methods
-
execute(db, cleared, context, done)
-
Insert the object in the db
Parameters:
Name Type Description db
Object the mongodb connected db cleared
Array.<string> context
Object done
function - Source: