Ecto.Repo.update_all

309 views
Skip to first unread message

Jason Harrelson

unread,
Jun 18, 2015, 11:27:43 PM6/18/15
to elixi...@googlegroups.com
I see that Ecto.Repo.update_all exists.  However, I do not see an example fo how to use it and am having trouble figuring it out from the spec.  Does anyone have enough experience with this function to provide an example of how to use it?  Thanks in advance!

José Valim

unread,
Jun 19, 2015, 2:37:22 AM6/19/15
to elixi...@googlegroups.com
There is a bug in the documentation generator so the docs for update_all are not being generated. I will fix it soon, meanwhile you can check the docs in source directly:




José Valim
Skype: jv.ptec
Founder and Director of R&D

On Fri, Jun 19, 2015 at 5:27 AM, Jason Harrelson <cjhar...@gmail.com> wrote:
I see that Ecto.Repo.update_all exists.  However, I do not see an example fo how to use it and am having trouble figuring it out from the spec.  Does anyone have enough experience with this function to provide an example of how to use it?  Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "elixir-ecto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-ecto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-ecto/89bb2ed1-e4ed-4682-a9e0-627e3a60f816%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jason Harrelson

unread,
Jun 19, 2015, 11:22:43 AM6/19/15
to elixi...@googlegroups.com, jose....@plataformatec.com.br
Thanks!  Should have been obvious that I could also look inline in the code, but when I am thinking about all the other things I have to in order to actually implement a system in a new language/frameworks, the easy things remain hidden away in my brain.  I appreciate your diligence and patience with the guidance you are providing.
Reply all
Reply to author
Forward
0 new messages