ember.js - Ember find with or -


how build ember-data findquery allows 'or' logic. eg, want find records date1 = '2015/5/14' or date2 = '2015/5/14'

at moment way can make 2 separate find calls like:

this.store.find('documents', {date1: '2015/5/14'}); this.store.find('documents', {date2: '2015/5/14'}); 

when need like:

this.store.find('documents', {date1: '2015/5/14'},{date:2: '2015/5/14'}); 

i'm hitting flask-restless server supports 'or' filter, need know how wire ember-data call correctly.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -