Re: ClojureQL: consistent select queries?

2011-07-30 Thread Sean Corfield
On Fri, Jul 29, 2011 at 11:56 PM, László Török wrote: > thanks for the pointer, I thought clojure.java.jdbc is 1.3 only. :) I suspect a lot of ppl think the new contrib libraries are 1.3 only but Clojure/core made it clear to me that new contrib libraries are all supposed to be 1.2 compatible. Th

Re: ClojureQL: consistent select queries?

2011-07-29 Thread László Török
Hi, thanks for the pointer, I thought clojure.java.jdbc is 1.3 only. :) Las 2011/7/30 Sean Corfield > On Fri, Jul 29, 2011 at 5:07 AM, László Török wrote: > > I'll probably resort to clojure.contrib.sql for now. > > You mean clojure.java.jdbc I hope? :) > > That's the updated version of c.c.s

Re: ClojureQL: consistent select queries?

2011-07-29 Thread Sean Corfield
On Fri, Jul 29, 2011 at 5:07 AM, László Török wrote: > I'll probably resort to clojure.contrib.sql for now. You mean clojure.java.jdbc I hope? :) That's the updated version of c.c.sql and it's compatible with both Clojure 1.2 and 1.3. If you hit any problems or think of any useful enhancements,

Re: ClojureQL: consistent select queries?

2011-07-29 Thread László Török
Hi 2011/7/29 Michael Wood > On 29 July 2011 14:01, Ken Wesson wrote: > > On Fri, Jul 29, 2011 at 7:41 AM, László Török > wrote: > >> Hi, > >> > >> is there a way to execute multiple select queries on a table using > clojureql > >> in a transaction? > >> > >> sg. like > >> > >>(with-results

Re: ClojureQL: consistent select queries?

2011-07-29 Thread Michael Wood
On 29 July 2011 14:01, Ken Wesson wrote: > On Fri, Jul 29, 2011 at 7:41 AM, László Török wrote: >> Hi, >> >> is there a way to execute multiple select queries on a table using clojureql >> in a transaction? >> >> sg. like >> >>    (with-results [res1 query1 >>     res2 query2]

Re: ClojureQL: consistent select queries?

2011-07-29 Thread László Török
Hi 2011/7/29 Ken Wesson > On Fri, Jul 29, 2011 at 7:41 AM, László Török wrote: > > Hi, > > > > is there a way to execute multiple select queries on a table using > clojureql > > in a transaction? > > > > sg. like > > > >(with-results [res1 query1 > > res2 query2] > >

Re: ClojureQL: consistent select queries?

2011-07-29 Thread Ken Wesson
On Fri, Jul 29, 2011 at 7:41 AM, László Török wrote: > Hi, > > is there a way to execute multiple select queries on a table using clojureql > in a transaction? > > sg. like > >    (with-results [res1 query1 >     res2 query2] >    .. do sg) > > and res1 and res2 would be ta

ClojureQL: consistent select queries?

2011-07-29 Thread László Török
Hi, is there a way to execute multiple select queries on a table using clojureql in a transaction? sg. like (with-results [res1 query1 res2 query2] .. do sg) and res1 and res2 would be taken from a same consistent snapshot. p.s. by looking at lau's repository