Search GeoPoint in radius + filter by parent parameter
Lets take as example the following schema on Backendless side:
Params: Name, FoodTypeFk (relationship), Rate, Location (relationship GeoPoint).
Params: lat, long
Metadata: nothing at the moment.
Now I need to query the following:
-> Search restaurants in a radius of 20km (example)
-> Restaurante must have [FoodTypeFk].type = 'Italian'
How can I combine this two criteria in one REST call?
I also tried to add as GeoPoint metadata the foreign key to Restaurant, but then I still don't know how to query for the food type.
Is it possible to do this in one REST request?