SALES: 1-800-867-1380

MobileServiceTable.update function

Updated: June 20, 2013

Updates an object in a given table.

mobileServiceTable.update(instance);

instance
Type: object

The instance to update in the table, as a JSON object.

Type: A Promise object that returns the updated object when it completes.

Call the done method on the returned Promise object to get a copy of the updated object and handle any errors.

This code takes a freshly completed TodoItem and updates the database.

todoTable.update(todoItem);

 

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft