Hey, I am trying to get the restaurants that comes inside the user’s co-ordinate.
Each of the restaurants has its own co-ordinate with a varying delivery radius.
I am new to mongodb but i know i dont need the $nearBy query, as it requires the max-distance parameter. So we will have only user’s co-ordinate supplied to the query and query will try to see which of the restaurants are qualified for the user’s co-ordinate according to restaurant’s delivery radius.
Thanks in advance