Query firebase for key equalTo value with emberfire on emberjs 2

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:

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

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:


1 Like