DS.RESTAdapter#findAll()

findAll (store, type, sinceToken, snapshotRecordArray) Promise

Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:439

Called by the store in order to fetch a JSON array for all of the records for a given type.

The findAll method makes an Ajax (HTTP GET) request to a URL computed by buildURL, and returns a promise for the resulting payload.

Parameters:

store DS.Store
type DS.Model
sinceToken String
snapshotRecordArray DS.SnapshotRecordArray

Returns:

Promise
promise
doc_EmberJs
2016-11-30 16:50:28
Comments
Leave a Comment

Please login to continue.