9,310
edits
(→Fetch: distinct=true) |
|||
Line 198: | Line 198: | ||
Finally, the Fetch query is executed, and the results are processed in the success callback – one of the elements on the HTML page is filled with HTML code and the application data. In case of an error, a message box with the error is displayed. | Finally, the Fetch query is executed, and the results are processed in the success callback – one of the elements on the HTML page is filled with HTML code and the application data. In case of an error, a message box with the error is displayed. | ||
{{Note|Any fetch run through Resco that does not have the "distinct" attribute explicitly defined is assigned with <code>distinct="true"</code>. Therefore, using JSBridge Fetch functionality you only get the unique results.}} | |||
Code: | Code: |