On May 17, 2013, at 1:30 PM, M.-A. Lemburg <m...@egenix.com> wrote:

> As for how to adjust the paramstyle, I think Vernon's summary
> is a good one. SQLAlchemy and other applications could then
> do (*):
> 
> import dbapi_module
> # We want named paramstyle on all connections:
> dbapi_module.paramstyle = 'named'
> 
> and reduce the overhead of having to escape percent signs.

just to confirm - that'll work on connections and cursors too, right?   I 
wouldn't want to do it at the module level.


_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to