Is it possible to set radius on DB?
ozican opened this issue · 1 comments
ozican commented
On my app, I have clients and shoppings.
Shoppings set the radius of their service area. So my question is, is it possible to set it on DB side?
Clients search the shoppings which are near. But for example a shopping dont want to deliver 2 mile but other wants... How can I seperate this?
MichaelSolati commented
Hey @ozican, so I'm not exactly sure what you're looking to do... GeoQuery
objects (such as a GeoCollectionReference
) have a near
method which can take an query criteria argument which includes the radius for the query...
Could you provide an example of what you're trying to achieve?