Added sql snippet.
This commit is contained in:
parent
360b6514bd
commit
9cd3fcb048
18
autoload/neosnippet/snippets/sql.snip
Normal file
18
autoload/neosnippet/snippets/sql.snip
Normal file
@ -0,0 +1,18 @@
|
||||
snippet CREATE TABLE
|
||||
abbr CREATE TABLE { ... }
|
||||
options head
|
||||
CREATE TABLE ${1:cities} (
|
||||
${0:name varchar(80), country_name text}
|
||||
);
|
||||
DROP TABLE $1;
|
||||
|
||||
snippet INSERT
|
||||
abbr INSERT INTO ... VALUES ( ... )
|
||||
options head
|
||||
INSERT INTO ${1:cities}
|
||||
VALUES (${0:'Vancouver', 'Canada'});
|
||||
|
||||
snippet SELECT
|
||||
abbr SELECT * from ...
|
||||
options head
|
||||
SELECT ${1:*} FROM ${2:cities} ${0:WHERE name = 'Vancouver'};
|
@ -747,6 +747,9 @@ A:
|
||||
==============================================================================
|
||||
CHANGELOG *neosnippet-changelog*
|
||||
|
||||
2013-03-21
|
||||
- Added sql snippet.
|
||||
|
||||
2013-03-16
|
||||
- Supported preview window.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user