DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Code

Important: This is a JavaScript interception handler.

You may use this in order to execute javascript code at certain points within the interception timeline. What you need to configure, though, is telling the SQL Frontend that this one is a javascript (JS) handler, its name, the position within the interception timeline to execute it, and, ultimately, the code to execute.

Hence, the only option necessary to explain here (as the others are overall options), is the following:

sCode

String. The JavaScript code to execute. You may or may not use a semicolon in the end here - either way, the code is executed through eval.

Example:

"interception": {
        "PostDisplay": {
                "10": {
                        "eType": "js",
                        "eClass": "Code",
                        "sCode": "console.log('display updated');"
                }
        }
}