SALES: 1-800-867-1380

MobileServiceTable.read function

Updated: June 20, 2013

Executes a query against the table.

mobileServiceTable.read(query);

query
Type: query object

The query to execute. When null or undefined, all rows are returned.

parameters
Type: object

A JSON object that contains user-defined parameters and values to include in the request URI query string.

Type: undefined

This code refreshes the entries in a binding collection by querying the TodoItems table.

todoTable.read().done(function (results) {
    todoItems = new WinJS.Binding.List(results);
    listItems.winControl.itemDataSource = todoItems.dataSource;
});

 

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

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