Element Details: Procedure.Mongo+Remove
 Back


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

Procedure.Mongo Remove removes documents from a Mongo collection.

Use "@Procedure.myProcedureID.DocumentsAffected~" to determine the number of documents actually removed.

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.
MongoQueryDocument
UserDefined
MongoQueryDocument specifies a Mongo "find" document to identify one or more documents. To vary the document content based on user or other input, use tokens inside the document, such as @Request tokens. Examples: Find all documents with "type" equal to "snacks". { type: "snacks" } Find all documents with "type" equal to "food" or "snacks" { type: { $in: [ "food", "snacks" ] } }
MongoWriteConcern
Unacknowledged
Acknowledged
This specifies whether the command should wait for acknowledgement of the write. The default is "Acknowledged", to wait for acknowledgement.
MultipleDocuments
True
False
Specifies whether this command should affect multiple documents. Default value is False.



PARENT ELEMENTS

Click element to drill down for more information.

If Error
Procedure.Else
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