Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-21 Thread tonihe
This is amazing. Any hope for INSERTs and so on? Currently only possible using postgres RETURNING clause On Tuesday, January 7, 2014 4:57:55 PM UTC+1, Kris Jenkins wrote: > > Yesql is a simple library for blending SQL queries & Clojure together, > cleanly. Here's how it > works

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-20 Thread Alexandr Kurilin
I might have missed this in the docs, but is there support for c.j.j's optional keyword arguments such as :row-fn and :identifiers? I couldn't quite figure out how to get that to work with yesql, as far as I can tell you can only pass query parameters at this point. On Thu, Jan 9, 2014 at 3:00 PM

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-09 Thread Kris Jenkins
Hmm...I'll have to mull that one. I have been thinking that I'm going to leave the whole issue of namespaces to Clojure, and let the call-site of (defqueries) decide. But I'll have to think it through some more. :-) Kris On Wednesday, 8 January 2014 00:26:58 UTC, Marco Shimomoto wrote: > > It l

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-09 Thread Kris Jenkins
Thanks Gary - I'm glad to hear it's working well for you. And thanks for your thoughts on the v0.2.0 release - they helped shape this version. :-) Kris On Tuesday, 7 January 2014 18:30:49 UTC, Gary Johnson wrote: > > defqueries for the win! > > Excellent minimal syntax choice, Kris. I'm using ye

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-07 Thread Alexandr Kurilin
This is neat, I'll need to give this a shot. Our application involves a lot of OLAP-style queries and I currently have several DAL namespaces of clojure.jdbc with 30+ lines of SQL query in them, which is pretty nasty to look at. This should clean up things nicely. On Tue, Jan 7, 2014 at 4:26 PM

[ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-07 Thread Marco Shimomoto
It looks great and I will try it. Have you thought about namespaces and different database implementations? Something like a general repository for SQL files and some vendor specific override repositories. -- -- You received this message because you are subscribed to the Google Groups "Clojure

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-07 Thread Luc Prefontaine
This lib is a perfect fit here, we create adapter plugins for databases of various software suppliers. Being able to load the queries as resources is absolutely in line with how we handle these plugins, as optional configurable dynamically loadable components. Combined with views to return EDN d

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-07 Thread Benjamin Yu
You just gave me a great solution to the sql pain points I've been having. On Tue, Jan 7, 2014 at 10:30 AM, Gary Johnson wrote: > defqueries for the win! > > Excellent minimal syntax choice, Kris. I'm using yesql in my current work > project, and it's been a real delight to work with thus far. Be

Re: [ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-07 Thread Gary Johnson
defqueries for the win! Excellent minimal syntax choice, Kris. I'm using yesql in my current work project, and it's been a real delight to work with thus far. Being able to put multiple queries in one file just makes it that much sweeter. ~Gary On Tuesday, January 7, 2014 10:57:55 AM UTC-5,

[ANN] Yesql 0.3.0 - Clojure & SQL queries rethought.

2014-01-07 Thread Kris Jenkins
Yesql is a simple library for blending SQL queries & Clojure together, cleanly. Here's how it works, and how to use it . Project: https://github.com/krisajenkins/yesql Leiningen: [yesql "0.3.0"]