DS.ManyArray#save()

saveDS.PromiseArray Defined in addon/-private/system/many-array.js:244 Saves all of the records in the ManyArray. Example store.findRecord('inbox', 1).then(function(inbox) { inbox.get('messages').then(function(messages) { messages.forEach(function(message) { message.set('isRead', true); }); messages.save() }); }); Returns: DS.PromiseArray promise

DS.ManyArray#reload()

reloadpublic Defined in addon/-private/system/many-array.js:236

DS.ManyArray#relationship

relationshipManyRelationshipprivate Defined in addon/-private/system/many-array.js:116 The relationship which manages this array.

DS.ManyArray#promise

promiseEmber.RSVP.Promiseprivate Defined in addon/-private/system/many-array.js:206 Used for async hasMany arrays to keep track of when they will resolve.

DS.ManyArray#meta

metaObjectpublic Defined in addon/-private/system/many-array.js:124 Metadata associated with the request for async hasMany relationships. Example Given that the server returns the following JSON payload when fetching a hasMany relationship: { "comments": [{ "id": 1, "comment": "This is the first comment", }, { // ... }], "meta": { "page": 1, "total": 5 } } You can then access the metadata via the meta property: post.get('comments').then(function(comments) {

DS.ManyArray#loadingRecordsCount()

loadingRecordsCount (count) private Defined in addon/-private/system/many-array.js:215 Parameters: count Number

DS.ManyArray#loadedRecord()

loadedRecordprivate Defined in addon/-private/system/many-array.js:224

DS.ManyArray#isPolymorphic

isPolymorphicBooleanprivate Defined in addon/-private/system/many-array.js:101 true if the relationship is polymorphic, false otherwise.

DS.ManyArray#isLoaded

isLoadedBoolean Defined in addon/-private/system/many-array.js:109 The loading state of this array

DS.ManyArray#createRecord()

createRecord (hash) DS.Modelprivate Defined in addon/-private/system/many-array.js:273 Create a child record within the owner Parameters: hash Object Returns: DS.Model record