✅ 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": 1241804700000 }, "grade": "C", "score": 1 },
{ "date": { "$date": 1224857600000 }, "grade": "A", "score": 5 },
{ "date": { "$date": 1261985600000 }, "grade": "B", "score": 9 },
{ "date": { "$date": 1201003200000 }, "grade": "A", "score": 8 },
{ "date": { "$date": 1137705200000 }, "grade": "B", "score": 13 }
],
"name": "Monash Bakery Shop",
"restaurant_id": "317455"
}
Write a MongoDB query to display the first 5 restaurant which is in the suburb Clayton.