diff sqlpyPlus.py @ 75:2060f9e4b27b

outstanding changes?
author catherine@cordelia
date Mon, 21 Apr 2008 09:25:47 -0400
parents bfc81b9b99a7
children 9427aa0726fa
line wrap: on
line diff
--- a/sqlpyPlus.py	Mon Apr 14 16:56:44 2008 -0400
+++ b/sqlpyPlus.py	Mon Apr 21 09:25:47 2008 -0400
@@ -744,15 +744,6 @@
         else:
             for (var, val) in self.binds.items():
                 print ':%s = %s' % (var, val)
-            
-    # keep bind vars in sync on both sides?
-    
-    def push_binds(self):
-        commands = [":%s := '%s'" for b in self.binds.items()]
-        curs.execute('begin\n%s\nend;' % '\n'.join(commands))
-    def pull_binds(self):
-        i DON'T THINK THIS WILL WORK!
-        
         
     def do_setbind(self, arg):
         args = arg.split(None, 2)
@@ -770,6 +761,7 @@
                 except ValueError:
                     val = self.curs.callfunc(val, [])
                     # submit to sql
+                    
             self.binds[var] = val # but what if val is a function call?
         else:
             print 'Could not parse ', args