findAll (store, type, sinceToken, snapshotRecordArray) Promise
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
Please login to continue.