updatedInstance
A method run whenever an existing instance has been saved to the data source. Overwrites the instance with response data.
connection.updatedInstance( instance, props )
updatedInstance
is run whenever an existing instance is saved to the data source. This implementation overwrites
the instance with the data returned bu [can-connect/connection.updatedData] which made the request to save the
modified instance data.
Parameters
- instance
{Instance}
:the instance that was updated
- props
{Object}
:the data from updateData that will overwrite the properties of
instance