From de23967a3257839405e0181834f6e16a3ce8ed90 Mon Sep 17 00:00:00 2001 From: wxg Date: Fri, 27 Mar 2026 14:38:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(ch2):=20=E4=BF=AE=E6=AD=A3=E6=96=87?= =?UTF-8?q?=E6=A1=88=E4=B8=AD=E7=9A=84=E2=80=9C=E8=A7=82=E5=AF=9F=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=9E=9C=E2=80=9D=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/v1/ch2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/v1/ch2.md b/content/v1/ch2.md index 7d36286..378e7d4 100644 --- a/content/v1/ch2.md +++ b/content/v1/ch2.md @@ -440,7 +440,7 @@ GROUP BY observation_month; `date_trunc('month', timestamp)` 函数用于确定包含 `timestamp` 的日历月份,并返回代表该月份开始的另一个时间戳。换句话说,它将时间戳舍入成最近的月份。 -这个查询首先过滤观察记录,以只显示鲨鱼家族的物种,然后根据它们发生的日历月份对观察记录果进行分组,最后将在该月的所有观察记录中看到的动物数目加起来。 +这个查询首先过滤观察记录,以只显示鲨鱼家族的物种,然后根据它们发生的日历月份对观察记录结果进行分组,最后将在该月的所有观察记录中看到的动物数目加起来。 同样的查询用 MongoDB 的 MapReduce 功能可以按如下来表述: