Sha256: 5ce3fcf6847348cc7d1acb0e4be296a096575e124745fe353089bf7b25339951

Contents?: true

Size: 1.24 KB

Versions: 58

Compression:

Stored size: 1.24 KB

Contents

ace.define("ace/snippets/sql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="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",t.scope="sql"});
                (function() {
                    ace.require(["ace/snippets/sql"], function(m) {
                        if (typeof module == "object" && typeof exports == "object" && module) {
                            module.exports = m;
                        }
                    });
                })();
            

Version data entries

58 entries across 58 versions & 3 rubygems

Version Path
card-mod-ace_editor-0.11.7 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.12.0 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.6 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.5 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.4 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.3 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.2 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.1 public/assets/ace/snippets/sql.js
card-mod-ace_editor-0.11.0 public/assets/ace/snippets/sql.js
card-1.100.0 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.6 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.5 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.4 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.3 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.2 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.1 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.99.0 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.98.3 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.98.2 mod/ace_editor/public/assets/ace/snippets/sql.js
card-1.98.1 mod/ace_editor/public/assets/ace/snippets/sql.js