[IronPython] Django 1.1 on IronPython 2.6rc2 findings

Seo Sanghyeon sanxiyn at gmail.com
Fri Oct 30 05:39:57 CET 2009


2009/10/30 Vernon Cole <vernondcole at gmail.com>
> I am cross posting here my inquiry sent to db-sig about how to change paramstyles, along with the only response.
>
> If you feel that option #1 below is NOT the way to go, please say something now.
>
>> M.-A. Lemburg ✆
>> Vernon Cole wrote:
>> > My question is, what would be an appropriate way to specify the altered
>> > paramstyle?
>> >
>> > 1) As an attribute of the connection:
>> >     con = adodbapi.connect('spam eggs")
>> >     con.paramstyle = "named"
>>
>> Most other configuration parameters are made available on
>> connections and cursors (with the cursor setting overriding the
>> connection one), so I think that's the most DB-API
>> compatible way of implementing this.

I agree with this. Sensible.

--
Seo Sanghyeon



More information about the Ironpython-users mailing list