Mercurial > sqlpython
comparison sqlpyPlus.py @ 114:c1c05670b4e5
going to modify to work with new cmd2
author | catherine@Elli.myhome.westell.com |
---|---|
date | Fri, 27 Jun 2008 16:09:30 -0400 |
parents | d48034a42b26 |
children | 43f5dc75b791 |
comparison
equal
deleted
inserted
replaced
113:d48034a42b26 | 114:c1c05670b4e5 |
---|---|
338 class sqlpyPlus(sqlpython.sqlpython): | 338 class sqlpyPlus(sqlpython.sqlpython): |
339 defaultExtension = 'sql' | 339 defaultExtension = 'sql' |
340 sqlpython.sqlpython.shortcuts.update({':': 'setbind', '\\': 'psql', '@': '_load'}) | 340 sqlpython.sqlpython.shortcuts.update({':': 'setbind', '\\': 'psql', '@': '_load'}) |
341 multilineCommands = '''select insert update delete tselect | 341 multilineCommands = '''select insert update delete tselect |
342 create drop alter'''.split() | 342 create drop alter'''.split() |
343 terminatorKeepingCommands = ['select'] | |
344 defaultFileName = 'afiedt.buf' | 343 defaultFileName = 'afiedt.buf' |
345 def __init__(self): | 344 def __init__(self): |
346 sqlpython.sqlpython.__init__(self) | 345 sqlpython.sqlpython.__init__(self) |
347 self.binds = CaselessDict() | 346 self.binds = CaselessDict() |
348 self.sqlBuffer = [] | 347 self.sqlBuffer = [] |