[DB-SIG] API 3.0 limiting paramstyle to ['named', 'qmark'] is okay. ('format' is not desirable)

Michael Bayer mike_mp at zzzcomputing.com
Fri May 17 17:15:36 CEST 2013

On May 17, 2013, at 11:10 AM, Christoph Zwerschke <cito at online.de> wrote:

> Am 17.05.2013 17:01, schrieb Vernon D. Cole:
> > What other options should be considered?
> Another option would be to get rid of the parameter completely, and silently accept both styles, whatever is used in the sql command passed to the execute method.

that's how dbapi3 should work for sure.   for dbapi2 compatibility, some kind of switching would be needed.

More information about the DB-SIG mailing list