Element Details: Procedure.Mongo+Insert
 Back


Available in: Logi Info Source code name: Procedure.MongoInsert

Procedure.Mongo Insert inserts a new document into a Mongo collection.

If there is an error running the insert command, an exception will be thrown.

Element Group:MongoDB



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ConnectionID
UserDefined
(Required) Specifies a connection to a data source that is defined in the Settings. For elements connecting to relational databases, default is the first Connection element in _settings.lgx.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
MongoCollection
UserDefined
(Required) Name of the Mongo collection.
MongoInsertDocument
UserDefined
(Required) MongoInsertDocument is the new document to be inserted to a MongoDB MongoDB collection. To vary the document content based on user or other input, use tokens inside the document, such as @Request tokens.
MongoWriteConcern
Unacknowledged
Acknowledged
This specifies whether the command should wait for acknowledgement of the write. The default is "Acknowledged", to wait for acknowledgement.



PARENT ELEMENTS

Click element to drill down for more information.

If Error
Procedure.Else
Procedure.File Exists
Procedure.Folder Exists
Procedure.If
Procedure.Run Datalayer Rows
Procedure.Run DataTable Rows
Procedure.Switch Case
Procedure.Switch Else
Task


CHILD ELEMENTS

Click element to drill down for more information.

If Error


 Back to top


 Chart Debug