Re: bind parameters and empty parameter lists

Chris Clark <[email protected]> Fri, 24 May 2013 10:00:48 -0700
Newsgroups gmane.comp.python.db
Message-ID <[email protected]>
On Fri, 24 May 2013 17:53:39 +0100, Daniele Varrazzo 
<[email protected]> 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

_______________________________________________
DB-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/db-sig