Class RecordArray
public
Extends:
Ember.ArrayProxy
Module:
@ember-data/store
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
RecordArray
or its subclasses will be returned by your application's store
in response to queries.
This class should not be imported and instantiated by consuming applications.
isLoaded public
Module:
@ember-data/store
Defined in ../store/addon/-private/record-arrays/record-array.ts:63
The flag to signal a RecordArray
is finished loading data.
Example
1 2 |
let people = store.peekAll('person'); people.get('isLoaded'); // true |
isUpdating public
Module:
@ember-data/store
Defined in ../store/addon/-private/record-arrays/record-array.ts:89
The flag to signal a RecordArray
is currently loading data.
Example
1 2 3 4 |
let people = store.peekAll('person'); people.get('isUpdating'); // false people.update(); people.get('isUpdating'); // true |