On 19 August 2011 17:25, Herwig Hochleitner wrote:
> This is a bug in `rename`.
> That needs to be worked on, thanks for pointing it out.
> In the meantime, please use
> (-> (table nil :users)
> (project [[:id :as :idx]
> :name])
> to-sql)
> in the meantime.
This is a bug in `rename`.
That needs to be worked on, thanks for pointing it out.
In the meantime, please use
(-> (table nil :users)
(project [[:id :as :idx]
:name])
to-sql)
in the meantime.
regards
2011/8/17 David Jagoe
> Hi All,
>
> Could someone wit
Hi All,
Could someone with experience in clojureql + postgres tell me if this works:
clojureql.core> (-> (table nil :users)
(project [:id :name])
(rename {:id :idx})
to-sql)
"SELECT users.id,users.name FROM users A