Skip to content
广告❤️成为赞助商

Preface

Project Overview

MongoPlus

Mongo-Plus (abbreviated as MP) is a tool for operating MongoDB that can be used alongside existing MongoDB frameworks, designed to simplify development and improve efficiency.

⭕ This project is open source under the Apache-2.0 license

Use must comply with national laws and regulations. ⛔ Illegal use is strictly prohibited, and you are responsible for any consequences❗

Features

  • Non-intrusive: Enhances functionality without changing existing code. Introducing it has no impact on your project — smooth as silk.
  • Low Overhead: Automatically injects basic CRUD on startup, with minimal performance impact. Operates directly with objects.
  • Powerful CRUD Operations: Generic Service allows most single-table CRUD operations with minimal configuration. Advanced condition builder satisfies various usage scenarios.
  • Lambda Support: Easily write query conditions using Lambda expressions, eliminating field errors.
  • Automatic Primary Key Generation: Supports up to 5 primary key strategies (including a distributed unique ID generator - Sequence), fully configurable.
  • Custom Global Operations: Supports injection of global utility methods.
  • Operations Without Entity Classes: Fully supported.
  • Dynamic Data Source Support: Fully supported.
  • Logical Deletion & Safety Features: Includes logical delete, prevention of full collection updates/deletes, automatic filling, and more.

Performance

MongoPlus provides a comparison project with MongoTemplate for query efficiency: MongoCompareSpring

Code Hosting

Gitee | Github

Contributing

We welcome everyone to help improve Mongo-Plus. We look forward to your PRs!

  • Contribute Code: Repository Mongo-Plus, feel free to submit Issues or Pull Requests.
  • Maintain Documentation: Repository Mongo-Plus-Doc, contributions for translation and edits are welcome.

Tutorials & Examples

Please visit Mongo-Plus-Demo for tutorials and demos.