codahale/jdub — Issue #14: Column Metadata not exposed
Author: jairamc
Created: 2011-12-06 10:54:21+00:00
State: open

Was there a particular reason the column metadata was not exposed like the ResultSet object does? Since the Row object does not expose any column metadata, the code becomes tightly-coupled with the database schema. I have a use-case where the code just needs to emit all the columns and values as a Seq[Map[String, Any]], but as I said, with the current support, I need to know all the column names and types.
I am working on implementing a couple of functions in the Row class (in my fork) that will expose the column list and the column types. If this sounds like something that is a good feature to have, I can raise a pull request.