You are THE MAN! Thank you so much Meikel !!!
On Apr 9, 10:24 am, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > On Apr 9, 5:16 pm, Base <[email protected]> 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en To unsubscribe, reply using "remove me" as the subject.
