Re: clojure.java.jdbc 0.3.0 column name handling

2013-12-28 Thread rod naph
That's perfect, thanks for taking the time to write back. Look forward to the updated documentation, would be a big help. :) On Saturday, December 21, 2013 7:56:59 PM UTC, rod naph wrote: > > with the new release of java.jdbc 0.3.0 i can't quite work out how the > quoting support for column name

Re: clojure.java.jdbc 0.3.0 column name handling

2013-12-21 Thread Sean Corfield
There are two hooks for naming strategies in java.jdbc: * :identifiers - for converting ResultSet column names to keywords * :entities - for converting Clojure keywords/string to SQL entity names :identifiers defaults to clojure.string/lower-case - so SQL column names become lowercase keywords.

clojure.java.jdbc 0.3.0 column name handling

2013-12-21 Thread rod naph
with the new release of java.jdbc 0.3.0 i can't quite work out how the quoting support for column names is supposed to work. i can see the strategy for the deprecated namespace, but the new core namespace only contains a function "quoted" - which isn't used directly at all. so what's the deal