doesn anyone know a good reference, tute or examples of
MySQLdb's dictCursor
I want to pass dictionaries into the sql exec statements.
I could only succeed with text as values
this is how I got the cursor object to call cursor.execute( "query")
connection = MySQLdb.connect ( host = "localhost" , user =
self.config.use rName, passwd = self.config.pas sword, cursorclass =
MySQLdb.cursors .DictCursor)
thanks
MySQLdb's dictCursor
I want to pass dictionaries into the sql exec statements.
I could only succeed with text as values
this is how I got the cursor object to call cursor.execute( "query")
connection = MySQLdb.connect ( host = "localhost" , user =
self.config.use rName, passwd = self.config.pas sword, cursorclass =
MySQLdb.cursors .DictCursor)
thanks
Comment