This topic has not yet been rated - Rate this topic

read function

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The feature described in this topic is available only in preview. To use this feature and other new Windows Azure capabilities, sign up for the free preview.


Invoked when a table is queried.

function read(query, user, request) { }
query
Type: object

The Query object that represents a query against the table, with any filters, projections, or other predicates specified by the client already applied.

user
Type: object

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

request
Type: object

The Request object that represents the request for the operation.

Type: undefined

When the query operation succeeds, a response with 200 HTTP status code is returned along with the results of the query, or an empty body if no items are selected.

You can make additional changes to the behavior of the query in your script before to you call the execute method on the Request object.

When the client does not specify the number of records to return, a default limit of 50 is set by the service.

You can override the default success and error behaviors. For more information, see Mobile Services server script reference

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter