Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як узнати скільки документів поверне запит?
db.col.find ({key: "value", n: {$gt: 50}}).size();
db.col.find ({key: "value", n: {$gt: 50}}). groupBy({$sum: 1});
db.col.count ({key: "value", n: {$gt: 50}});
db.col.find ({key: "value", n: {$gt: 50}}). explain();
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!