what's the difference between find, findAll and findQuery in ember-data -
what difference between find, findall , findquery in ember-data?
find
convenience wrapper findall
, findquery
, findbyid
.
findall
return records of specific type (this trigger request server)all
same uses cache, if have records in store, no request madefindquery
return subset serverfindbyid
returns single object
https://github.com/emberjs/data/blob/master/packages/ember-data/lib/system/store.js#l431
Comments
Post a Comment