Table of Contents

https://docs.mongodb.com/manual/aggregation/

db.orders.aggregate([
   { $match: { status: "A" } },
   { $group: { _id: "$cust_id", total: { $sum: "$amount" } } }
])

맵리듀스#

단일처리#

  • db.collection.estimatedDocumentCount()
  • db.collection.count()
  • db.collection.distinct()

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 12-Oct-2019 21:41 by DongGukLee  
G’day (anonymous guest) My Prefs

Referenced by
NoSQL

JSPWiki v2.8.4