Hi, On Apr 9, 5:16 pm, Base <basselh...@gmail.com> wrote:
> (with-connection db > (transaction > (map insert-user users ))) > > Any thoughts on why this is occurring? What am I missing? Laziness. The map does not get realised in the with-connection. map is not a loop. Use doseq. (with-connection db (transaction (doseq [user users] (insert-user user)))) Sincerely Meikel -- 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 To unsubscribe, reply using "remove me" as the subject.