From 2d6421477c5259ada17479949ce24d69d004f681 Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Wed, 31 Jul 2019 15:06:16 +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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/notes/MongoDB_聚合.md b/notes/MongoDB_聚合.md index 4551308..b163994 100644 --- a/notes/MongoDB_聚合.md +++ b/notes/MongoDB_聚合.md @@ -339,11 +339,11 @@ db.employees.aggregate([ "emp_no" : 10001, ........ "emp_title" : [ - { - "_id" : ObjectId("5d4011728ba16934ccce99a5"), - "emp_no" : 10001, - "title" : "Senior Engineer" - } + { + "_id" : ObjectId("5d4011728ba16934ccce99a5"), + "emp_no" : 10001, + "title" : "Senior Engineer" + } ] }, @@ -424,7 +424,7 @@ db.employees.aggregate([ "_id" : ObjectId("5d4011728ba16934ccce99a6"), "emp_no" : 10002, "title" : "Staff" - }, + }, { "_id" : ObjectId("5d4011728ba16934ccce99a7"), "emp_no" : 10003,