Extends: | Ember.ArrayProxy |
---|---|
Uses: | Ember.Evented |
Defined in: | addon/-private/system/record-arrays/record-array.js:11 |
Module: | ember-data |
Defined in addon/-private/system/record-arrays/record-array.js:180
Saves all of the records in the RecordArray
.
Example
var messages = store.peekAll('message'); messages.forEach(function(message) { message.set('hasBeenSeen', true); }); messages.save();
Defined in addon/-private/system/record-arrays/record-array.js:112
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'); // true
© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/ember-data/2.14/classes/DS.RecordArray/methods