Database-style Queries with Firebase

Viewed 22513

Is there a fast way to perform database-style queries with Firebase?

For example:

Given a firebase reference users with fields user_id, name, and age, what would be the best way to do a query similar to this:

SELECT name FROM users WHERE `user_id`=147;

and

SELECT COUNT(*) FROM users WHERE age=21;
3 Answers
Related