This project is not covered by Drupal’s security advisory policy.

Built by a human using an AI assistant: 🤖 ➕ 🧠

Note that extensive parts of this module was generating via AI coding agents under human supervision.

MongoDB Storage Client

MongoDB Storage Client (xnttmongodb) provides a MongoDB storage client for the External Entities module.

It allows External Entities to access MongoDB collections as external data sources, with support for listing, counting, reading, creating, updating, and deleting documents.

The module provides a generic, low-level configuration interface inspired by the SQL storage client (xnttsql). Connection settings and MongoDB operations can be configured while keeping the storage client flexible enough to support different MongoDB data models.

xnttmongodb is also designed to serve as a base for more specialized storage client plugins. Other modules can extend it to provide application-specific configuration interfaces while reusing its MongoDB connection, query, filtering, BSON conversion, and CRUD capabilities.

Features

- MongoDB integration for External Entities.
- Configurable MongoDB connection, database, and collection.
- List and count queries.
- Read, create, update, and delete operations.
- Translation of External Entities filters into MongoDB filters.
- Support for MongoDB BSON types such as ObjectId.
- JSON-based configuration for advanced MongoDB operations.
- Extensible architecture for building specialized MongoDB storage clients.
- Designed for External Entities 3.1 and Drupal 11/12.

Additional Requirements

This modules uses mongodb/mongodb PHP library (official) v2.5.

Supporting organizations: 
Provided human resources

Project information

Releases