[sqlalchemy] Re: ResultProxy lowercasing column names

2007-03-26 Thread Mel Collins
On Mar 25, 3:54 pm, Michael Bayer [EMAIL PROTECTED] wrote: I've modified my SA again, so ResultProxy.keys uses the name as it comes out of the DB, and everything else uses the lower-cased version. Again, my stuff still works, but the same test fails as before

[sqlalchemy] Re: ResultProxy lowercasing column names

2007-03-25 Thread Mel Collins
On Mar 24, 7:33 pm, Michael Bayer [EMAIL PROTECTED] wrote: however for the casing, are you just interested in row.keys() being accurate, or are you actually trying to target multiple columns in a single row with the same name but different cases ? My primary concern was to be able to get

[sqlalchemy] Re: ResultProxy lowercasing column names

2007-03-25 Thread Michael Bayer
On Mar 25, 2007, at 8:17 AM, Mel Collins wrote: My primary concern was to be able to get case-accurate key:value pairs for all the values in a RowProxy object. Having the keys() accurate would indeed be sufficient for my current purposes, as they're what's used for converting to a dict.

[sqlalchemy] Re: ResultProxy lowercasing column names

2007-03-24 Thread Michael Bayer
theres work going on in ticket 512 to address this, so the try/ excepts are already gone :). however for the casing, are you just interested in row.keys() being accurate, or are you actually trying to target multiple columns in a single row with the same name but different cases ? with