Class DS.RecordArray
A record array is an array that contains records of a certain modelName. The record
array materializes records as needed when they are retrieved for the first
time. You should not create record arrays yourself. Instead, an instance of
DS.RecordArray
or its subclasses will be returned by your application's store
in response to queries.
isLoaded
Defined in addon/-private/system/record-arrays/record-array.js:42
The flag to signal a RecordArray
is finished loading data.
Example
var people = store.peekAll('person');
people.get('isLoaded'); // true
isUpdating
Defined in addon/-private/system/record-arrays/record-array.js:56
The flag to signal a RecordArray
is currently loading data.
Example
var people = store.peekAll('person');
people.get('isUpdating'); // false
people.update();
people.get('isUpdating'); // true
type
Defined in addon/-private/system/record-arrays/record-array.js:88
The modelClass represented by this record array.