So I’m looking to modify the CLSQL abstractions to suit my own needs. I’ve been using the clsql-sys package and that’s suited most of my needs. However, I can’t seem to find how to get a list of field names and field types from the result set. In fact, I just seem can’t to find anything ANYWHERE to get types (names I can just hack into the database-query-result-set method.)
Any help would be much appreciated, especially on the types.
thanks!
Jieren
I did eventually find out how to do this, but only for MySQL and Oracle, which makes the generic functions no longer valid universally. It’s also very hacky (I’ve hardcoded the types)
I’ve documented this here:
http://www.jierenchen.com/2009/08/solution.html
Let me know via e-mail if you have any questions about this.