A bunch of new snippets

This commit is contained in:
Griffin Smith 2019-07-09 17:50:51 -04:00
parent a3eb6846b3
commit 23b179ad1d
12 changed files with 76 additions and 0 deletions

View 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

View file

@ -0,0 +1,6 @@
# key: exec
# name: op.get_bind.execute
# --
op.get_bind().execute("""
`(progn (sqlup-mode) "")`$1
""")