On Jul 27, 2011, at 7:26 PM, Brian Marick wrote:
> How *does* one provide dates to ClojureQL for transmission to Postgres?  I 
> want to do something like this:
> 
> (ql/conj! (ql/table :animals) {:official_name "fred" :added_to_service 
> <<<something that counts as a SQL Date>>>})

Boy I was dumb yesterday:


user> (ql/conj! (ql/table :animals)
                {:official_name "fred"
                :added_to_service (Date. (.getMillis (DateMidnight.)))})


-----
Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Occasional consulting on Agile
www.exampler.com, www.twitter.com/marick

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to