Re: API 3.0 limiting paramstyle to ['named', 'qmark'] is okay. ('format' is not desirable)

"Vernon D. Cole" <[email protected]>
Newsgroups gmane.comp.python.db
Message-ID <CAH-ZgAdsvusY6FEBcapDdMZyD48p6DrrhW5U3EOogX73eyu7nQ@mail.gmail.com>
On Fri, May 17, 2013 at 4:36 PM, M.-A. Lemburg <[email protected]> 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."

_______________________________________________
DB-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/db-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.