Message101561
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. |
|
Date |
User |
Action |
Args |
2010-03-23 07:00:33 | ghaering | set | recipients:
+ ghaering, sgala |
2010-03-23 07:00:33 | ghaering | set | messageid: <1269327633.42.0.645257437173.issue8196@psf.upfronthosting.co.za> |
2010-03-23 07:00:31 | ghaering | link | issue8196 messages |
2010-03-23 07:00:30 | ghaering | create | |
|