摘要:常用注解: @Document使用@Document(org.springframework.data.mongodb.core.mapping.Document)标注Java的类名对应的MongoDB的集合名称。 @Id、@MongoId使用@Id(org.springframework.data
阅读全文
01 2023 档案
摘要:MongoTemplate官方文档: https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/#mongo.aggregation.supported-aggregation-operations 一、增删改查 原
阅读全文