Is there an equivalent of cursor.executemany that I could use?

Asked by venura

First of all good job with this module. I'm just getting into python and this is making things even easier!

Is there an equivalent of cursor.executemany() method that I could use? or if not what is the most effective method to get hold of the underlying cursor object. Also when I'm finished I assume I have to call Commit() on the PySQLConnection object

Thanks,
Venura

Question information

Language:
English Edit question
Status:
Solved
For:
PySQLPool Edit question
Assignee:
Nikoleta Verbeck Edit question
Solved by:
venura
Solved:
Last query:
Last reply:
Revision history for this message
Nikoleta Verbeck (nerdynick) said :
#1

Are you running the current release or checkout from SVN? I ask because the 0.2 release doesn't contain this method but the current trunk from svn does contain a PySQLQuery.executemany() as well as a custom PySQLQuery.executeMulti() method.

If you are not familiar with SVN we are planning to release the new 0.3 version on Sunday with some new features and bug fixes.

Revision history for this message
Nikoleta Verbeck (nerdynick) said :
#2

If your interested Version 0.3 Beta 1 is out for testing and review in a Tar Ball form.

Revision history for this message
venura (venura-2-mendis) said :
#3

Thanks Nick. Ill download it now