Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

update function


Updated: June 3, 2015

Invoked when an item is updated in a table.

function update(item, user, request) { }


Type: object

The new state of the item to be updated in the table.


Type: object

The user object that represents an authenticated user when authentication is required, otherwise undefined.


Type: object

The request object that represents the request for the operation.

Type: undefined 

When the update operation succeeds, a response with 200 HTTP status code is returned with the state of the updated item in the body.

You can control data that is inserted by modifying the state of the item object before the execute method is called.

You can override the default success and error behaviors. For more information, see Mobile Services JavaScript (Node.js) backend library