warning when executemany is performed with separate executes
MySQL database connector for Python programming
Brought to you by:
adustman
please consider adding a warning to executemany, when it is performed using separate execute's, or even removing this feature entirely. imo, executemany should always try to use a single execute or fail loudly, because that is what most users would expect, and it would make for a simpler and more understandable API. of course it's easy enough for users to use a for-loop to do individual executes if executemany doesn't work.. thanks!
Most users haven't read http://www.python.org/dev/peps/pep-0249/ then.