You are viewing the RapidMiner Studio documentation for version 9.2 - Check here for latest version
Delete MongoDB (NoSQL)
Synopsis
Deletes a set of MongoDB documents.Description
This operator can be used to delete documents from the specified MongoDB collection. The default configuration of the operator assumes that documents are deleted via their ID, however, more general deletion queries are supported as well.
Input
- documents (Collection)
The documents to be deleted form the specified MongoDB collection.
Output
- documents (Collection)
The documents that have been deleted from the collection. This collection is a subset of the input collection: skipped documents are not included.
Parameters
- mongodb_instance The MongoDB instance to be used for storing the documents. Range: Configurable
- write_concern The write concern which controls the acknowledgment of write operations by MongoDB. See the MongoDB documentation for details. Range: Selection
- collection The MongoDB collection in which the documents are stored. Range: String
- require_id If checked the operator requires documents to include a MongoDB ID, i.e., to include the "_id" field. Documents missing an ID are considered invalid. Otherwise, all documents are passed to the database. Range: Boolean
- skip_invalid_documents If checked, invalid documents (i.e., not in JSON format) are skipped and a warning is logged. Otherwise, the process execution is stopped. Range: Boolean