Help Centre › Building Processes
Description
This article provides an overview of the MongoDB document database actions available in RPA. MongoDB actions extend the Database module with native document database operations – find, insert, update, delete, aggregate.
Prerequisites
- A MongoDB connection (created via Database Connect with driver=mongodb)
Available Functions
Query
- db-find – Query documents from a MongoDB collection
- db-find-one – Find a single document from a MongoDB collection
- db-count-documents – Count documents in a MongoDB collection
- db-aggregate – Run a MongoDB aggregation pipeline
- db-list-collections – List collections in a MongoDB database
Write
- db-insert-one – Insert a document into a MongoDB collection
- db-insert-many – Insert multiple documents into a MongoDB collection
- db-update-one – Update a document in a MongoDB collection
- db-update-many – Update multiple documents in a MongoDB collection
Delete
- db-delete-one – Delete a document from a MongoDB collection
- db-delete-many – Delete multiple documents from a MongoDB collection