From 155739bf971f3782689a7e7f11266b8c73016f72 Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Wed, 31 Jul 2019 14:42:37 +0800 Subject: [PATCH] =?UTF-8?q?Update=20MongoDB=5F=E8=81=9A=E5=90=88.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/MongoDB_聚合.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/MongoDB_聚合.md b/notes/MongoDB_聚合.md index 4485248..3900921 100644 --- a/notes/MongoDB_聚合.md +++ b/notes/MongoDB_聚合.md @@ -171,7 +171,7 @@ db.employees.aggregate( } ``` -如果你想计算所有员工的年龄总和、平均年龄、以及员工总数,则可以将 $group 管道阶段的 _id 字段设置为 null ,语句如下: +如果你想计算所有员工的年龄总和、平均年龄、以及员工总数,则可以将 $group 管道阶段的 _id 字段设置为 null ,如下: ```shell db.employees.aggregate(