Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

MobileServiceTable object

Updated: June 20, 2013

Represents a table in a mobile service to support insert, update, delete, and query operations.

var mobileServiceTable = MobileServicesClient.getTable(name);

This object contains the following members:

 

Method Description

del

Deletes an object from a given table.

getMobileServiceClient

Gets the MobileServiceClient object associated with this table.

getTableName

Gets the name of the table.

includeTotalCount

Requests that the query include the total count for all the records returned.

insert

Inserts a new object into the table.

lookup

Requests an existing instance from the table by its ID value.

orderBy

Sorts a query against the table by the selected columns, in ascending order.

orderByDescending

Sorts a query against the table by the selected columns, in descending order.

read

Executes a query against the table.

refresh

Gets the latest property values from the table in the mobile service.

select

Applies the specific column projection to the query against the table.

skip

Skips the specified number of rows in the query.

take

Limits the number of rows returned by the query to the specified number.

update

Updates an object in a given table.

where

Filters the data returned by the query.

Query methods (orderBy, orderByDescending, select, skip, take and where) all return a new query object. This enables you to compose queries as a series of method calls.

Create a new instance of the MobileServiceTable object by calling the MobileServiceClient.getTable function, supplying the name of the table.

 

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

Weergeven:
© 2014 Microsoft