成都创新互联网站制作重庆分公司

MongoDB笔记十一——count+Distinct+Group

1、count()
查询出国籍是美国的学生人数
MongoDB笔记十一——count+Distinct+Group
2、Distinct()
查询出都有哪些国家的学生
db.runCommond({distinct:"persons",key:"country"}).values
MongoDB笔记十一——count+Distinct+Group

当前标题:MongoDB笔记十一——count+Distinct+Group
URL链接:http://cxhlcq.com/article/jiiico.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部