Query firebase for key equalTo value with emberfire on emberjs 2


#1

Can anyone tell how do I build an emberfire with emberjs 2 query like this SQL query: SELECT * FROM my_db WHERE name=“some_name”;
DB in question: https://shoutoutdb.firebaseio.com/users

I’ve tried a lot of things, but nothing really worked, and I didn’t find a clear solution for ember 2. :confused:


#2
return this.get('store').query('model',{
        orderBy : 'coulmnName',
        equalTo : 'some_name});

#3

here is an Ember addon for querying a firebase search. It supports equalTo as well as greaterThan, LessThan, notEqual, etc. You can also use multiple queries in the same search. Check it out here: