千家信息网

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

发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,1、count()查询出国籍是美国的学生人数2、Distinct()查询出都有哪些国家的学生db.runCommond({distinct:"persons",key:"country"}).valu
千家信息网最后更新 2026年11月03日MongoDB笔记十一——count+Distinct+Group1、count()查询出国籍是美国的学生人数
2、Distinct()查询出都有哪些国家的学生db.runCommond({distinct:"persons",key:"country"}).values


0