[DB-SIG] Prepared statements in python drivers

Federico Di Gregorio fog at dndg.it
Thu Mar 27 11:52:27 CET 2014


On 27/03/2014 11:46, M.-A. Lemburg wrote:
> The prepared operation is only available until the next call to
> one of the .execute*() methods or another call to the .prepare()
> method.

With this wording it seems that the prepared statement is invalidated by
the next .execute() call, while you can call .execute() multiple times
with the same (prepared) query string.

federico

-- 
Federico Di Gregorio                         federico.digregorio at dndg.it
Di Nunzio & Di Gregorio srl                               http://dndg.it
               Do I know what a rhetorical question is? -- Homer Simpson


More information about the DB-SIG mailing list