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

2013-05-21 Thread wilk
On 19-05-2013, Carl Karsten wrote: > I don't think it is reasonable to expect python's dbapi to be as db > agnostic as we would like it to be. Of course, we will not resolv this issue, sql code will still be specific to database. But, as a developer using differents databases, even if i accept

Re: [DB-SIG] paramstyle without knowing the database

2012-12-04 Thread wilk
On 03-12-2012, M.-A. Lemburg wrote: > On 03.12.2012 09:31, wilk wrote: >> Hi, >> >> I did a litle function to use the same paramstyle regardless of the >> paramstyle of the database. I transform one paramstyle to an other (a >> code missing in the lib standar

[DB-SIG] paramstyle without knowing the database

2012-12-03 Thread wilk
Hi, I did a litle function to use the same paramstyle regardless of the paramstyle of the database. I transform one paramstyle to an other (a code missing in the lib standard isn't it ?) But of course i need to know the paramstyle of the database. I didn't found any way to retrieve it from the