lundi 11 mai 2015

How can I do a "where in" type query using ember-data

How can I perform a where-in type query using ember-data?

Say I have a list of tags - how can I use the store to query the API to get all relevant records where they have one of the tags present?

Something like this:

 return this.store.find('tags', {
            name: {
                "in": ['tag1', 'tag2', 'tag3']
            }
        })




Aucun commentaire:

Enregistrer un commentaire