logo

Crowdly

Browser

Add to Chrome

Which document can be a correct output for the following aggregate pipeline d...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Which document can be a correct output for the following aggregate pipeline

db.users.aggregate([

{$match: {"title" : /Star Wars/i} },

{$unwind : "$actors" },

{$group : {"_id" : "$actors._id", "val": {$avg: "$rating"}} },

{$match: {"val":{$gt:3.5}}} ]);

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on learning.devinci.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome