serializeInstance
Returns the properties of an instance that should be sent to the data source when saving. Done by calling
instance.serialize()
.
connection.serializeInstance(instance)
Simply calls serialize on the instance
argument.
Parameters
- instance
{Map}
:the instance to serialize