首页 新闻 会员 周边
1
回答数

待解决问题 java 操作mongoB只查询指定字段

使用 Query query = new Query() ,query对象来作为查询的条件; 怎么指定MongoDB只返回指定的字段,或者不返回某字段, 例query.addCriteria(Crit