Question
1.(10 points) Use the Restaurants collection you created in Assignment 3. Assume users always want to query the restaurants based on their name, cuisine and
1.(10 points) Use the Restaurants collection you created in Assignment 3. Assume users always want to query the restaurants based on their name, cuisine and grade. Please create index(es) on collection restaurants.
2. (20 points) Use geo Restaurants database (the one we loaded in class) to find all restaurants within 5 miles of Gino'S Pizzeria, and within 1000 meters of Burger King. (Hints: need to use javascript)
Can someone help me with these two questions.
The second question has to be solved using the javascript.
My assignment due is tom
Can someone send me the codes?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started