84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
mysql可以指定select 后面的字段
mongo 通过java 怎么实现该功能 比如我要根据c_oid得到c_title java代码怎么写?
认证高级PHP讲师
It’s just a normal query, please refer to the official documentation.
It’s very detailed herehttp://mongodb.github.io/mong...
For example, fields include below contains the fields you want to return
collection.find(eq("c_oid", "****")) .projection(fields(include("c_title"), excludeId()));
It’s just a normal query, please refer to the official documentation.
It’s very detailed here
http://mongodb.github.io/mong...
For example, fields include below contains the fields you want to return