destroyedData
Data callback that updates the cache when a data record is deleted.
connection.destroyedData(responseData, requestData)
Calls destroyData
on the cacheConnection to remove a data record stored in the cache.
Calls and returns the response from any underlying behavior's destroyedData
callback.
Parameters
- responseData
{Object}
:the data returned by the data destroy request
- requestData
{Object}
:the data that was passed to the data destroy request
Returns
{Object}
:
the data returned from an underlying behavior's destroyedData
callback, if one exists. Otherwise
returns the responseData
.