Introduction

The MongoDB adapter facilitates interactions with MongoDB databases within maps and flows, enabling operations such as reading, inserting, updating, and deleting documents from designated collections.

At a high level, the adapter incorporates the following key capabilities:
  • Testing Configured Connection Definitions: Verify the validity of connection definitions through comprehensive testing.
  • Discovering Databases and Collections: Dynamically identify available databases and collections within the MongoDB environment.
  • Fetching Documents: Fetch documents from a designated collection, supporting queries to retrieve one or all documents that match specific criteria.
  • Inserting Documents: Insert new documents into the specified collection, ensuring data consistency.
  • Updating Documents: Update documents in the collection based on specified filters and update expressions.
  • Deleting Documents: Delete documents from the collection using a specified filter expression.
  • Transaction Support: Perform write operations under transactions, when supported by the MongoDB server.