mongodb,spring data api常用总结

1,

mongoTemplate.findOne(new Query(where("name").is("Joe")), Person.class)

猜你喜欢

转载自my.oschina.net/hfq/blog/1816741