A bunch of new snippets
This commit is contained in:
parent
a3eb6846b3
commit
23b179ad1d
12 changed files with 76 additions and 0 deletions
5
snippets/python-mode/add_column
Normal file
5
snippets/python-mode/add_column
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: add_column
|
||||
# key: op.add_column
|
||||
# --
|
||||
op.add_column('${1:table}', sa.Column('${2:name}', sa.${3:String()}))$0
|
||||
6
snippets/python-mode/op.get_bind.execute
Normal file
6
snippets/python-mode/op.get_bind.execute
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# key: exec
|
||||
# name: op.get_bind.execute
|
||||
# --
|
||||
op.get_bind().execute("""
|
||||
`(progn (sqlup-mode) "")`$1
|
||||
""")
|
||||
Loading…
Add table
Add a link
Reference in a new issue