updateRecord (store, type, snapshot) Promise
Called by the store when an existing record is saved via the save method on a model record instance.
The updateRecord method serializes the record and makes an Ajax (HTTP PUT) request to a URL computed by buildURL.
See serialize for information on how to customize the serialized form of a record.
Parameters:
-
store
DS.Store -
type
DS.Model -
snapshot
DS.Snapshot
Returns:
-
Promise - promise
Please login to continue.