0

Trying to build an android app with Firebase backend.

I read all about it, built an app that syncs with the backend, etc. what I can't figure out is how to make advanced queries without retrieving all the parent.

for example - say I scale to many users, and I want to retrieve only users that are 50 KM around me, I don't want to retrieve ALL the users and then manipulate the data. I want to retrieve ONLY the users I need.

I guess I'm looking for something more SQLish like "GET users WHERE users.location = bla bla bla".

can anyone help me ? thanks!

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Gil A
  • 201
  • 1
  • 13

1 Answers1

0

I recommend you watch the Firebase Database for SQL Developers series. It helps understanding how to create queries, the same way we used to do in SQL.