mongodb-delete-batch
Finds and deletes documents from the MongDB collection specified as key fields in the input record.
mongodb-delete-batch profile=PROFILE [database=DATABASE] collection=COLLECTION keys=KEYS [limit=NUM]
- profile=PROFILE
- Connect profile code of MongoDB.
- database=DATABASE
- Target database name. Applies the default database name specified in the connect profile if not specified.
- collection=COLLECTION
- Target collection name
- keys=KEYS
- Comma separated field names to use for document search. e.g. If keys option is 'guid', find documents by value of guid field.
- limit=NUM
- The number of matching documents to delete. Specify 0 to delete all matching documents, or 1 to delete a single document. If not specified, all matching documents are deleted.
Output Fields
Field | Type | Name | Description |
---|---|---|---|
_error | String | Error | Error message |