data.create
This method offers alternative signatures:
data.create(data, [success], [error])
Signature
data.create(data, [success], [error])
Description
Creates an item.
Parameters
Parameter Name | Type | Description |
---|---|---|
data |
object / Array.<object> | The item or items that will be created. |
[success] |
function | A success callback. |
[error] |
function | An error callback. |
data.create(data)
Signature
data.create(data)
Description
Creates a data item.
Return Type
Promise - The promise for the request.
Parameters
Parameter Name | Type | Description |
---|---|---|
data |
object / Array.<object> | Item or items that will be created. |