MCPcopy Index your code
hub / github.com/anwenmp/MongoPlus

github.com/anwenmp/MongoPlus @v2.1.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.9 ↗ · + Follow
3,296 symbols 8,255 edges 486 files 1,354 documented · 41%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

License jdk-8 jdk-17 star fork star

MongoPlusLogo

Introduction:

🔥🔥🔥Use MyBatisPlus to elegantly operate MongoDB

  • Sneak into the night with the wind

            Can be used in combination with the existing Mongo framework, non-invasive
  • Simplify development

             With simple configuration, CRUD operations can be quickly performed, and chain calls are more convenient

Advantages:

  • Non-invasive: Only enhancements are made without changes. Introducing it will not affect the existing project, as smooth as silk
  • Low loss: Basics will be automatically injected upon startup CURD, basically no performance loss, direct object-oriented operation
  • Powerful CRUD operation: General Service, most CRUD operations of a single table can be implemented with only a small amount of configuration, and there is a powerful conditional constructor to meet various usage needs
  • Support Lambda form call: Through Lambda expressions, it is convenient to write various query conditions, no need to worry about the wrong field
  • Support automatic generation of primary keys: Support up to 5 primary key strategies (including distributed unique ID generator - Sequence), which can be freely configured to perfectly solve the primary key problem
  • Support operations without entity classes
  • Support dynamic data sources
  • Support logical deletion, prevent full collection update and deletion, automatic filling and other functions

Rapid development

MyBatisPlus does not need to write too many SQL statements like MyBatis, and Mongo-Plus is the same!

The project has been connected to Murphy Security

Click to view the detection report

Security Status

Document

Document address: https://mongoplus.com/

Contact us

If you have any questions or ideas when using MongoPlus, please contact me

v: anwen_529

Note: MongoPlus

WeChat

Contribute

  1. Star and Fork this repository

  2. Create a new Feat_xxx branch

  3. Submit code

  4. Create a new Pull Request

Extension points exported contracts — how you extend this code

Builder (Interface)
生成器接口用于在生成器设计模式中将类指定为生成器对象。构建器能够创建和配置对象或结果,这些对象或结果通常需要多个步骤才能构建,或者派生起来非常复杂。 生成器接口定义了类必须实现的单个方法build()。此方法的结果应该是执行所有构建操作后的 [9 …
mongo-plus-core/src/main/java/com/mongoplus/toolkit/builder/Builder.java
LoadExtraWord (Interface)
加载额外的敏感词
mongo-plus-sensitive-word/src/main/java/com/mongoplus/handler/LoadExtraWord.java
DataSourceShardingStrategy (Interface)
数据源分片策略 @author anwen
mongo-plus-sharding/src/main/java/com/mongoplus/sharding/DataSourceShardingStrategy.java
MappingStrategy (Interface)
映射器,将Java类型映射为MongoDB支持类型 比如将BigInteger映射为Long,因为MongoDB并不支持BigInteger,或者将自定义的类型(如User类),映射为Document类型 @author anwen [7 …
mongo-plus-core/src/main/java/com/mongoplus/strategy/mapping/MappingStrategy.java
ConversionStrategy (Interface)
转换器 @author anwen [34 implementers]
mongo-plus-core/src/main/java/com/mongoplus/strategy/conversion/ConversionStrategy.java
MethodExecutorStrategy (Interface)
方法执行策略(解耦逻辑) @author loser [22 implementers]
mongo-plus-core/src/main/java/com/mongoplus/strategy/executor/MethodExecutorStrategy.java
Log (Interface)
@author Clinton Begin [23 implementers]
mongo-plus-core/src/main/java/com/mongoplus/logging/Log.java

Core symbols most depended-on inside this repo

get
called by 173
mongo-plus-core/src/main/java/com/mongoplus/support/BoolFunction.java
getFieldNameLine
called by 168
mongo-plus-core/src/main/java/com/mongoplus/support/SFunction.java
put
called by 159
mongo-plus-core/src/main/java/com/mongoplus/bson/EmptyDocument.java
getValue
called by 145
mongo-plus-core/src/main/java/com/mongoplus/mapping/FieldInformation.java
append
called by 128
mongo-plus-core/src/main/java/com/mongoplus/toolkit/builder/CompareToBuilder.java
getClass
called by 122
mongo-plus-core/src/main/java/com/mongoplus/toolkit/ClassTypeUtil.java
add
called by 109
mongo-plus-core/src/main/java/com/mongoplus/cache/global/InformationCache.java
notNull
called by 82
mongo-plus-core/src/main/java/com/mongoplus/toolkit/Assert.java

Shape

Method 2,822
Class 373
Interface 69
Enum 32

Languages

Java100%

Modules by API surface

mongo-plus-core/src/main/java/com/mongoplus/toolkit/Filters.java103 symbols
mongo-plus-core/src/main/java/com/mongoplus/model/BaseProperty.java96 symbols
mongo-plus-core/src/main/java/com/mongoplus/toolkit/StringUtils.java57 symbols
mongo-plus-core/src/main/java/com/mongoplus/conditions/AbstractChainWrapper.java57 symbols
mongo-plus-core/src/main/java/com/mongoplus/aggregate/LambdaAggregateWrapper.java50 symbols
mongo-plus-core/src/main/java/com/mongoplus/model/Retry.java38 symbols
mongo-plus-core/src/main/java/com/mongoplus/aggregate/Aggregate.java38 symbols
mongo-plus-core/src/main/java/com/mongoplus/interceptor/business/DataChangeRecorderInnerInterceptor.java35 symbols
mongo-plus-core/src/main/java/com/mongoplus/conditions/interfaces/Compare.java35 symbols
mongo-plus-core/src/main/java/com/mongoplus/mapper/MongoMapperImpl.java31 symbols
mongo-plus-core/src/main/java/com/mongoplus/mapping/SimpleFieldInformation.java29 symbols
mongo-plus-core/src/main/java/com/mongoplus/conditions/interfaces/ConditionOperators.java29 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add MongoPlus \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page