Re: update-values for clojure.contrib.sql

2009-01-14 Thread budu
Good, anyway it was only a relatively minor modification of insert- values function. I'm sending my contributor agreement today, hoping to contribute further in a near future. Thanks On Jan 14, 12:13 am, "Stephen C. Gilardi" wrote: > On Jan 11, 2009, at 10:42 AM, Stephen C. Gilardi wrote: > > >

Re: update-values for clojure.contrib.sql

2009-01-13 Thread Stephen C. Gilardi
On Jan 11, 2009, at 10:42 AM, Stephen C. Gilardi wrote: I'd like to include something like this in clojure.contrib.sql. That will go smoothest if I can base it directly on what you've written and that's only possible if you send in a contributor agreement. Would you please send one in?

Re: update-values for clojure.contrib.sql

2009-01-11 Thread Stephen C. Gilardi
On Jan 2, 2009, at 2:21 AM, budu wrote: Hi, I was experimenting with clojure-contrib's sql features and found that there wasn't any update-values function. I've written my own and I'm sharing it here: (defn update-values [table where column-names & values] "Update columns of a table with valu

Re: update-values for clojure.contrib.sql

2009-01-02 Thread budu
D'oh! I have a hard time kicking out that old habit. And changing code after testing it too! On Jan 2, 4:21 am, "Christian Vest Hansen" wrote: > Well, one thing that sticks out (particularly to me) is the fact that > you forgot to put your doc-string *before* your [params*] list :) > (ahem) > >

Re: update-values for clojure.contrib.sql

2009-01-02 Thread Christian Vest Hansen
Well, one thing that sticks out (particularly to me) is the fact that you forgot to put your doc-string *before* your [params*] list :) (ahem) On Fri, Jan 2, 2009 at 8:21 AM, budu wrote: > > Hi, I was experimenting with clojure-contrib's sql features and found > that there wasn't any update-valu

update-values for clojure.contrib.sql

2009-01-01 Thread budu
Hi, I was experimenting with clojure-contrib's sql features and found that there wasn't any update-values function. I've written my own and I'm sharing it here: (defn update-values [table where column-names & values] "Update columns of a table with values. columns-names is a vector of column