Class DS.AdapterPopulatedRecordArray
Represents an ordered list of records whose order and membership is
determined by the adapter. For example, a query sent to the adapter
may trigger a search on the server, whose results would be loaded
into an instance of the AdapterPopulatedRecordArray.
If you want to update the array and get the latest records from the
adapter, you can invoke update():
Example
// GET /users?isAdmin=true
var admins = store.query('user', { isAdmin: true });
admins.then(function() {
  console.log(admins.get("length")); // 42
});
// somewhere later in the app code, when new admins have been created
// in the meantime
//
// GET /users?isAdmin=true
admins.update().then(function() {
  admins.get('isUpdating'); // false
  console.log(admins.get("length")); // 123
});
admins.get('isUpdating'); // trueMethods
save : DS.PromiseArray
Inherited from DS.RecordArray addon/-private/system/record-arrays/record-array.js:182
- returns
- DS.PromiseArray
- promise 
Saves all of the records in the RecordArray.
Example
var messages = store.peekAll('message');
messages.forEach(function(message) {
  message.set('hasBeenSeen', true);
});
messages.save();update
Inherited from DS.RecordArray addon/-private/system/record-arrays/record-array.js:114
Used to get the latest version of all of the records in this array from the adapter.
Example
var people = store.peekAll('person');
people.get('isUpdating'); // false
people.update().then(function() {
  people.get('isUpdating'); // false
});
people.get('isUpdating'); // trueProperties
isLoaded
Inherited from DS.RecordArray 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'); // trueisUpdating
Inherited from DS.RecordArray 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'); // truetype
Inherited from DS.RecordArray addon/-private/system/record-arrays/record-array.js:88
The modelClass represented by this record array.