Class: Insertion

Insertion

new Insertion()

Represents a DB insertion
Properties:
Name Type Description
name string
collection string
value Obj
Source:

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: