Sha256: 94200d2ceb753eaff631edb02dfbaebd6c42258a6f3a18b3d8f935249fe6a392

Contents?: true

Size: 1.01 KB

Versions: 115

Compression:

Stored size: 1.01 KB

Contents

define("ace/snippets/sql",["require","exports","module"], function(require, exports, module) {
"use strict";

exports.snippetText = "snippet tbl\n\
	create table ${1:table} (\n\
		${2:columns}\n\
	);\n\
snippet col\n\
	${1:name}	${2:type}	${3:default ''}	${4:not null}\n\
snippet ccol\n\
	${1:name}	varchar2(${2:size})	${3:default ''}	${4:not null}\n\
snippet ncol\n\
	${1:name}	number	${3:default 0}	${4:not null}\n\
snippet dcol\n\
	${1:name}	date	${3:default sysdate}	${4:not null}\n\
snippet ind\n\
	create index ${3:$1_$2} on ${1:table}(${2:column});\n\
snippet uind\n\
	create unique index ${1:name} on ${2:table}(${3:column});\n\
snippet tblcom\n\
	comment on table ${1:table} is '${2:comment}';\n\
snippet colcom\n\
	comment on column ${1:table}.${2:column} is '${3:comment}';\n\
snippet addcol\n\
	alter table ${1:table} add (${2:column} ${3:type});\n\
snippet seq\n\
	create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\n\
snippet s*\n\
	select * from ${1:table}\n\
";
exports.scope = "sql";

});

Version data entries

115 entries across 115 versions & 4 rubygems

Version Path
optimacms-0.1.61 spec/dummy/public/js/ace/src/snippets/sql.js
aleph_analytics-0.4.9.pre.dev vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.4.8 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.4.7 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.4.4 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.4.2 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.4.1 vendor/assets/javascripts/ace/snippets/sql.js
ace-rails-ap-4.2 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.3.0 vendor/assets/javascripts/ace/snippets/sql.js
ace-rails-ap-4.1.5 vendor/assets/javascripts/ace/snippets/sql.js
ace-rails-ap-4.1.4 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.2.0 vendor/assets/javascripts/ace/snippets/sql.js
ace-rails-ap-4.1.3 vendor/assets/javascripts/ace/snippets/sql.js
aleph_analytics-0.1.0 vendor/assets/javascripts/ace/snippets/sql.js
optimacms-0.3.9 spec/dummy/public/js/ace/src/snippets/sql.js
optimacms-0.3.8 spec/dummy/public/js/ace/src/snippets/sql.js
optimacms-0.3.7 spec/dummy/public/js/ace/src/snippets/sql.js
optimacms-0.3.6 spec/dummy/public/js/ace/src/snippets/sql.js
optimacms-0.3.5 spec/dummy/public/js/ace/src/snippets/sql.js
optimacms-0.3.2 spec/dummy/public/js/ace/src/snippets/sql.js