[DB-SIG] First suggestion for db-api 3.0

Bob Kline bkline at rksystems.com
Wed Sep 24 21:06:52 CEST 2008

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
mailto:bkline at rksystems.com

More information about the DB-SIG mailing list