We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2fd792 commit 5cb6bc6Copy full SHA for 5cb6bc6
templates/sql.eld
@@ -0,0 +1,10 @@
1
+sql-mode
2
+
3
+(pgfn "CREATE OR REPLACE FUNCTION " (s function-name) "(" (s arguments) ")" n
4
+"RETURNS " (p "void") " AS $$" n
5
+"DECLARE" n> (p "-- declare variable as: name type := value;") n
6
+"BEGIN" n>
7
+r> n
8
+"END;" n
9
+"$$ LANGUAGE plpgsql" n
10
+)
0 commit comments