Courseiva

C100DEV practice exam session

C100DEV

Study mode — explanations shown

1

Aggregation Framework

hard

Refer to the exhibit. What happens to documents in the collection that do not contain the 'category' field?

Exhibit

db.collection.aggregate([ { $group: { _id: "$category", total: { $sum: "$price" } } } ])
0 of 10 answered