logo

Crowdly

Browser

Add to Chrome

Following is the structure of the restaurant collection: { "address": { ...

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

Following is the structure of the restaurant collection:

{

"address": {

"building": "1007",

"coord": [ 144.946457, -37.840935 ],

"street": "Monash University Bakery",

"zipcode": "3800"

},

"suburb": "Clayton",

"cuisine": "Bakery",

"grades": [

{ "date": { "$date": 1393804800000 }, "grade": "A", "score": 2 },

{ "date": { "$date": 1378857600000 }, "grade": "A", "score": 6 },

{ "date": { "$date": 1358985600000 }, "grade": "A", "score": 10 },

{ "date": { "$date": 1322006400000 }, "grade": "A", "score": 9 },

{ "date": { "$date": 1299715200000 }, "grade": "B", "score": 14 }

],

"name": "Monash Bakery Shop",

"restaurant_id": "317455"

}

Write a MongoDB query to find the restaurants that do not prepare the cuisine 'Curry' and their grade score is more than 70
100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on learning.monash.edu?

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

Browser

Add to Chrome