@@ -483,7 +483,7 @@ Examples
483483
484484 { _id: "1", items: { name: "pens", tags: [ "writing", "office", "school", "stationary" ], price: Decimal128("12.00"), quantity: 5 } }
485485 { _id: "1", items: { name: "envelopes", tags: [ "stationary", "office" ], price: Decimal128("19.95"), quantity: 8 } }
486- { _id: "2", items: { name: "laptop", tags: [ "office", "electronics" ], price: Decimal128("800.00"), quantity" : 1 } }
486+ { _id: "2", items: { name: "laptop", tags: [ "office", "electronics" ], price: Decimal128("800.00"), quantity: 1 } }
487487 { _id: "2", items: { name: "notepad", tags: [ "stationary", "school" ], price: Decimal128("14.95"), quantity: 3 } }
488488
489489 Second Stage
@@ -502,7 +502,7 @@ Examples
502502 { _id: "2", items: { name: "laptop", tags: "office", price: Decimal128("800.00"), quantity: 1 } }
503503 { _id: "2", items: { name: "laptop", tags: "electronics", price: Decimal128("800.00"), quantity: 1 } }
504504 { _id: "2", items: { name: "notepad", tags: "stationary", price: Decimal128("14.95"), quantity: 3 } }
505- { _id: "2", items: { name: "notepad", "ags : "school", price: Decimal128("14.95"), quantity: 3 } }
505+ { _id: "2", items: { name: "notepad", "tags : "school", price: Decimal128("14.95"), quantity: 3 } }
506506
507507 Third Stage
508508 The :pipeline:`$group` stage groups the documents by the tag and
0 commit comments