I'm sorry, I misspoke. I meant *update* multiple records. On Saturday, February 16, 2013 1:54:11 AM UTC-5, Feng Shen wrote: > > > Is it easy (and immutable) to build a collection of records to insert? > I've been told CONJ is a good start. > > map maybe be helpful: (map (fn [d] return-map-of-records) datasets) > > > Does the clojure jdbc interface support insertion of multiple records? > I haven't seen such a function yet. > > clojure.java.jdbc/insert-records > > > > On Saturday, February 16, 2013 11:30:08 AM UTC+8, Jonathon McKitrick wrote: >> >> I'm iterating a large dataset and inserting a record for each row. After >> working in a Salesforce environment, I'm thinking it would be better to >> build a collection of records and insert them in one fell swoop. >> >> 1. Is it easy (and immutable) to build a collection of records to >> insert? I've been told CONJ is a good start. >> 2. Does the clojure jdbc interface support insertion of multiple >> records? I haven't seen such a function yet. >> >>
-- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.