Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the outcome of the data operation.
get_result: function()
Usage
var a = exampleActionResult.get_result();
Return Value
An object that represents the outcome of the data operation, or null if no data is returned from the operation.
Remarks
The following table lists the data operation scenarios and the contents of the result property for each scenario.
Scenario |
Contents of result property |
|---|---|
Exception thrown by data service |
null |
Insert operation |
An object that represents the new data. |
Remove or update operation |
null |
When data is returned from an insert or data-retrieval operation, the data is returned as a JSON type. When an exception is thrown by the data service, the exception is stored in the error property.