On Mar 12, 1:32 pm, Ron Lusk <[email protected]> wrote:
> Works for me: I just overwrote my copy of resultset-seq with one that
> uses getColumnLabel, and I am now getting the results I expected from
> complex queries (in Interbase, at least).
>
> On Feb 23, 9:33 am, Rich Hickey <[email protected]> wrote:
>
> > Sounds good to me - any drawbacks to this? Does it require that the
> > columns be named explicitly?
>
> > Rich

The change to getColumnLabel sounds good. Just one word of warning.
The reason the exception is there is that if the columns are still
duplicates, the call to struct-map will explode with an exception that
is not very obvious. (After writing that sentence, I realize that
maybe the better solution is to patch struct-map to complain with an
good error message). I wrote the original patch to throw an exception
in order to make the failure more obvious. Any change should handle
failure gracefully.

Allen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to