[DB-SIG] bind parameters and empty parameter lists

Chris Clark Chris.Clark at actian.com
Fri May 24 19:00:48 CEST 2013


On Fri, 24 May 2013 17:53:39 +0100, Daniele Varrazzo 
<daniele.varrazzo at gmail.com> wrote:
> On Fri, 2013-05-24 at 08:54 -0700, Chris Clark wrote:
>>> .executemany(sql, [0])
>> Again, this is valid, a single tuple with an integer value of zero.
> For consistency between execute and executemany, I think
> ".executemany(sql, [0])" should behave as ".execute(sql, 0)", which is
> likely to raise an error.


You're right I misread the executemany as execute, thanks for catching that!

Chris



More information about the DB-SIG mailing list