mongotemplate updateOne方法的一个大坑

看网上对updataOne的说明不多,借此写个mongotemplate updateOne的一个坑 下面标红的是关键,暂时没有时间和能力去看源码,因此这里也就不作解释了。 Document document1 = new Document(){{put("_id", data.getString("_id"));}}; Document document2 = new Document(){{
相关文章
相关标签/搜索