[IronPython] Django 1.1 on IronPython 2.6rc2 findings
sanxiyn at gmail.com
Thu Oct 29 21:39:57 PDT 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.
More information about the Users