Mendix MongoDB Connector
Overview
The Mendix MongoDB Connector is a module that enables integration with MongoDB, a popular NoSQL database. The connector allows developers to connect, interact, and perform operations on MongoDB databases within their Mendix applications. With the Mendix MongoDB Connector, developers can leverage the power connector to store and retrieve data from their Mendix applications. The connector provides a set of actions and functionality that simplifies the process of working with MongoDB, allowing developers to focus on building their application's logic rather than dealing with low-level database operations.
Documentation
Description
The Mendix MongoDB Connector is a module that enables integration with MongoDB, a popular NoSQL database. The connector allows developers to connect, interact, and perform operations on MongoDB databases within their Mendix applications. With the Mendix MongoDB Connector, developers can leverage the power of connector to retrieve data from MongoDB to their Mendix applications. The connector provides a set of actions and functionality that simplifies the process of working with MongoDB, allowing developers to focus on building their application's logic rather than dealing with low-level database operations.
Typical usage scenario
It provides a standardized and straightforward approach to connect Mendix applications with MongoDB databases, ensuring compatibility and smooth data flow.
Features and limitations
Connection Management: Establish a connection to MongoDB server(s) and configure connection settings
Mapping Entities: Map MongoDB collections and documents to Mendix entities, allowing seamless integration and mapping between the two data models.
Integration with Mendix Application Logic: Integrate MongoDB operations within Mendix microflows and java actions, allowing developers to incorporate MongoDB data seamlessly into their application's business logic.
Dependencies
Mendix Studio Pro 9.24.0 or higher
Community Commons
Installation
Download and import the module into your Mendix App
Configuration
- Prerequisites - Download Community Commons from marketplace.
- Create a new Entity with desired name which should have Attribute name as 'MongoDBObjectId' with the data type as 'String' and validate as Unique Key.
- Have a valid URL and Port number of MongoDB.
How to Use
- Select preferred Database to access its collections.
- Select collection and select its attributes to create mapping.
- Search and select preferred entity.
- Select one attribute from entity and one attribute from collections to create mapping list.
- Click on review and confirm.
- A form containing the details of selected database, collection, entity and mapping list will appear for review.
- click on confirm to save.
- Click on view all mappings: all the mappings will be displayed.