executemany & UPDATE (MySQL & Python)
Nick Arnett
narnett at mccmedia.com
Fri Jun 14 17:19:53 EDT 2002
> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Gerhard Häring
> Sent: Friday, June 14, 2002 12:18 PM
[snip]
> I mistakenly assumed that MySQLdb's executemany was implemented the same
> way as pyPgSQL's. That assumption was wrong. Looking into the source
> reveals that MySQLdb's implementation is really clever, but
> unfortunately hardcoded to only work with INSERT statements.
Thanks for looking at the source -- I was trying to avoid doing that
myself... I guess that settles it.
Nick
More information about the Python-list
mailing list