This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* in the Custom Fields tab, click "Edit Custom Fields" and paste the below in. Then click save. */ | |
{ | |
"alertDuration": { | |
"label": "Alert Duration", | |
"type": "slider", | |
"name": "", | |
"value": 7, | |
"max": 100, | |
"min": 1, | |
"steps": 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ddl = (function () { | |
function DDL() { | |
this.options = { | |
//columnNamePrefix: "?", | |
"Object Prefix": {value:"a"}, | |
Schema: {value:"hr"}, | |
"On Delete": {value:'Cascade',check:['Cascade','Restrict','Set Null']}, | |
Compression: {value:'No',check:['Yes','No']}, | |
"Include Drops": {value:'No',check:['Yes','No']}, | |
"Date Data Type":{value:'DATE',check:['DATE','TIMESTAMP','Timestamp with time zone','Timestamp with local time zone']}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tree = (function(){ | |
var tab= ' '; | |
function ddlnode( x, inputLine, parent ) { | |
this.x = x; | |
this.y = function() { | |
if( this.children.length == 0 ) | |
return this.x+1; | |
else | |
return this.children[this.children.length-1].y(); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
var first = util.executeReturnOneCol("select 1 from dualx"); | |
ctx.write('\n\n FIRST: ' + first + '\n\n'); | |
} catch (e ) { | |
ctx.write('\n\n ERROR' + e + '\n\n'); | |
} | |
sqlcl.setStmt('select X from YZ'); | |
sqlcl.run(); | |