- 博客(1)
- 问答 (2)
- 收藏
- 关注
原创 mongoTemplate批量新增或者更新
// list为要更新或者新增的数据,使用时填充上自己的数据集合List<MultiAnalyseMakeModel> list = new ArrayList();List<Pair<Query, Update>> updateList = new ArrayList<>(list.size()); BulkOperations operations = mongoTemplate.bulkOps(BulkOperations.Bul.
2021-10-22 17:53:42 3323
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人