Description:
This step deletes the JSON objects in the Mongo DB
Inputs
- connID – select Mongo DB connection string
- dbName - provide database name
- collectionName - provide collection name
- jsonFilter - provide JSON filter to match objects for deletion
Returns
- True – step executed successfully
- False - step failed to execute
Usage:
Example:
Let’s build and execute the “clsMongoDeleteObjectsDef” example.
- Create a new definition called “clsMongoDeleteObjectsDef”
- Select the definition and click the “design” button
- Drag “clsMongoDeleteObjects” step from the toolbox
- Connect the dots between the Start and “clsMongoDeleteObjects” as above
- Define variables/globals required for the execution
- Click the "clsMongoDeleteObjects" step to configure its "Settings" properties. Provide a name to the step. Select the ETL definition from the drop-down list. Click the Save button.