SalesBuy
1-855-856-7678
Technical SupportSupport
Invoked when a table is queried.
function read(query, user, request) { }
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