Vernon Cole wrote:
The column names are exactly what I asked for, but
the order is all wrong. If I asked for row[1] I will get the wrong thing. If I could ask for row.displayName it would be correct.

My first reaction when I read this was "surely the implementation of the API is not behaving correctly"; but then I looked at what the specification actually says, and indeed, there is no requirement that the order of the tuples in the description sequence match the order of the columns in the result set. Regardless of the merits of Vernon's proposal (and I think his arguments have some validity), this seems like a hole in the specification which should be addressed.

--
Bob Kline
http://www.rksystems.com
mailto:[EMAIL PROTECTED]

_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to