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

Vernon D. Cole vernondcole at gmail.com
Fri May 17 17:44:32 CEST 2013


On Fri, May 17, 2013 at 4:36 PM, M.-A. Lemburg <mal at egenix.com> wrote:

> e.g. passing a
> dictionary of parameters to a SQL command which uses a mix
> of qmark and named style parameter markers.
>

That is a plain, simple syntax error, and will be reported as such by the
SQL engine, along with a million other syntax errors that I have no way of
detecting in Python.  The error reporting is the same in all cases: "SQL
does not like your stuff."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/db-sig/attachments/20130517/9906ddb4/attachment-0001.html>


More information about the DB-SIG mailing list