Sync paramstyle between sqlite and mysql

Jerry Hill malaclypse2 at gmail.com
Tue Nov 11 11:24:50 EST 2008


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.

-- 
Jerry



More information about the Python-list mailing list