Hello guys,
I am working on jobseeker app. Here companies come and create some Job Post
So, Job_Posting Schema :
{
_id: 1,
title : "Intern",
post : "Testing",
company_id : 2332,
desc : "......",
location : [
{ type: "Point", coordinates: [longitude, latitude] },
{ type: "Point", coordinates: [longitude, latitude] },
{ type: "Point", coordinates: [longitude, latitude] }
],
someotherinfo : '......'
}
Now, I have latitude and longitude , I want the jobs record within a radius of 100 km
when I have saved one location in one record.
Then we can use geoNear,
But Here, How can I do .
Thanks