createData
createData(instanceData, cid)
Uses the feathersService create
method with the provided serialized instanceData
.
Parameters
- instanceData
{Object}
:The serialized data of the instance.
- cid
{Number}
:A unique id that represents the instance that is being created.
Returns
{Promise<Object>}
:
A promise that resolves to the newly created instance data.