sql-a4534b1e.js 1.6 KB

1
  1. import{g as a}from"./index-b2e76ed2.js";function i(s,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in s)){const l=Object.getOwnPropertyDescriptor(e,n);l&&Object.defineProperty(s,n,l.get?l:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(s,o){ace.define("ace/snippets/sql.snippets",["require","exports","module"],function(t,e,n){n.exports="snippet tbl\n create table ${1:table} (\n ${2:columns}\n );\nsnippet col\n ${1:name} ${2:type} ${3:default ''} ${4:not null}\nsnippet ccol\n ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\nsnippet ncol\n ${1:name} number ${3:default 0} ${4:not null}\nsnippet dcol\n ${1:name} date ${3:default sysdate} ${4:not null}\nsnippet ind\n create index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n create unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n comment on table ${1:table} is '${2:comment}';\nsnippet colcom\n comment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n alter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n select * from ${1:table}\n"}),ace.define("ace/snippets/sql",["require","exports","module","ace/snippets/sql.snippets"],function(t,e,n){e.snippetText=t("./sql.snippets"),e.scope="sql"}),function(){ace.require(["ace/snippets/sql"],function(t){s&&(s.exports=t)})}()})(p);var r=p.exports;const c=a(r),$=i({__proto__:null,default:c},[r]);export{$ as s};