How to use emberfire to query a firebase db for all items with name equalTo xyz in ember.js 2.0.0?
问题 I'm new to ember.js and firebase. I've been trying to make something that needs me to query the DB for a key matching a defined value. According to guides.emberjs.com, the following example should work: this.store.query('person', { filter: { name: 'Peter' } }).then(function(peters) { // Do something with `peters` }); But it doesn't. Apparently because I'm using the emberfire addon. After literally hours of googling, there was no clear solution. The emberfire docs talk about the available