Hi,
I like to find a way to use graphql geospatial query.
location: {
type: "Point",
coordinates: [-73.856077, 40.848447]
}
in mongo:
db.places.find(
{
location:
{ $near :
{
$geometry: { type: "Point", coordinates: [ -73.9667, 40.78 ] },
$minDistance: 1000,
$maxDistance: 5000
}
}
}
)
Please let me how to do in new GraphQL
Thank you
Radovan