This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ghaering
Recipients ghaering, sgala
Date 2010-03-23.07:00:30
SpamBayes Score 0.0044230623
Marked as misclassified No
Message-id <1269327633.42.0.645257437173.issue8196@psf.upfronthosting.co.za>
In-reply-to
Content
I said qmark vs numeric. I. e. vs:

execute("UPDATE authors set name = :1, email = :2, comment = :3 WHERE id = :4", (form.name, form.email, form.text, form.id))

The sqlite3 module will always support both paramstyles qmark and named, simply because that is what the underlying SQLite engine supports. What paramstyle says is mostly important for third-party software that works across multiple DB-API compliant database modules. paramstyle enables them to use database supported parameter binding.

In reality, though, there will hardly be a wrapper for DB-API modules that does *not* need to special-case anything depending on the underlying database. So they will hardly ever rely only on the paramstyle and threadsafety parameters.
History
Date User Action Args
2010-03-23 07:00:33ghaeringsetrecipients: + ghaering, sgala
2010-03-23 07:00:33ghaeringsetmessageid: <1269327633.42.0.645257437173.issue8196@psf.upfronthosting.co.za>
2010-03-23 07:00:31ghaeringlinkissue8196 messages
2010-03-23 07:00:30ghaeringcreate