MobileServicesTable.lookup function

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

mobileServiceTable.lookup(id);

Parameters

  • id
    Type: number

    An integer value that is the ID of the instance.

  • parameters
    Type: object

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

Return Value

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

Call the done method on the returned Promise object to get the requested object and handle any errors.

.NET Framework Equivalent

LookupAsync

Requirements

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

See Also

Reference

MobileServiceTable object

Other Resources

Get started with data in Mobile Services
How to use an HTML/JavaScript client for Azure Mobile Services