changeset 291:2103616cffcd

woot, sql within by
author catherine@dellzilla
date Mon, 23 Mar 2009 12:07:18 -0400
parents 67ff100baeaa
children d727f209acf9
files sqlpython/sqlpyPlus.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Mon Mar 23 10:16:20 2009 -0400
+++ b/sqlpython/sqlpyPlus.py	Mon Mar 23 12:07:18 2009 -0400
@@ -508,8 +508,9 @@
             most recent resultset is `r[-1]`.
         SQL bind variables can be accessed/changed via `binds`;
         substitution variables via `substs`.
+        Single SQL commands can be issued by beginning commands with `sql`.
         '''
-        return Cmd.do_py(self, arg)
+        return Cmd.do_py(self, arg, escape='sql')
 
     def do_get(self, args):
         """