Sync paramstyle between sqlite and mysql

Thorsten Kampe thorsten at thorstenkampe.de
Tue Nov 11 15:07:19 EST 2008


* Jerry Hill (Tue, 11 Nov 2008 11:24:50 -0500)
> On Mon, Nov 10, 2008 at 1:00 PM, Daniel <daniel.watrous at gmail.com> wrote:
> > I have read in PEP249 (http://www.python.org/dev/peps/pep-0249/) that
> > there are five paramstyles, though it wasn't clear if I should expect
> > these to be implemented in all DBAPI2 compliant modules.  I have found
> > that I can set the paramstyle, but it doesn't seem to apply:
> 
> As far as I understand it, paramstyle is informational, not a setting
> that you can change.  You have no choice but to use the paramstyle
> that the provider of the dbapi-compliant module has chosen to use.

Right.

Thorsten



More information about the Python-list mailing list