saveDS.PromiseArray
Saves all of the records in the RecordArray
.
Example
var messages = store.peekAll('message'); messages.forEach(function(message) { message.set('hasBeenSeen', true); }); messages.save();
Returns:
-
DS.PromiseArray
- promise
saveDS.PromiseArray
Saves all of the records in the RecordArray
.
Example
var messages = store.peekAll('message'); messages.forEach(function(message) { message.set('hasBeenSeen', true); }); messages.save();
DS.PromiseArray
Please login to continue.