java操做mongodb之select(通常查询)

一:环境搭建                环境搭建代码(SSM+mongdb)点击打开连接 app 二:验证mongoTemplate.find()       两个collection,分别是customer和order,其中order中有字段orderCode,customer中有一个document也有一个orderCode字段。下面是两个collection状况。 spa     第一种
相关文章
相关标签/搜索