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

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -