Get records in particular geo radius and satisfying other criteria?

Hi!

I add to my Users table coordinates column of GeoPoint type. Is there any way to get Users from a radius from particular location and additionally satisfying other criteria - for example first_name value equal to “Sara”?

If not any walkaround for this problem?

Tomasz, you can use distance-based Data objects search as it’s described here

So, your where clause should look like this :

distance( 30.26715, -97.74306, coordinates.latitude, coordinates.longitude ) < mi(200) and first_name = 'Sara'

Thank you so much :slight_smile: