MobileServicesTable.lookup function
Requests an existing instance from the table by its ID value.
mobileServiceTable.lookup(id);
Parameters
id
Type: numberAn integer value that is the ID of the instance.
parameters
Type: objectA 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
Requirements
Namespace |
WindowsAzure.MobileServices |
Library |
MobileServices.js |
See Also
Reference
Other Resources
Get started with data in Mobile Services
How to use an HTML/JavaScript client for Azure Mobile Services