摘要:
public interface LogTaskBuilderRepository extends MongoRepository<LogTaskBuilder, String> { @Query(value="{ 'type': {'$in' : ?0} }",fields="{ 'type' : 1}") public List<LogTaskBuilder> findTest(String[] name); @Query(value="{?0:?1}") p 阅读全文
摘要:
http://blog.csdn.net/laigood12345/article/details/7056093mongodb 有三种查询方式哈哈1.通过接口数据仓库来处理2.也是通过数据仓库来处理,支持JS风格查询3.通过MongoTemplate 接口来查 阅读全文