How database transactions work in Ecto and why Elixir makes it awesome?

Today we’re going to look at how Ecto, which is Elixir’s first-choice database access library, addresses the issue of handling database transactions. We’ll briefly introduce you to the very concept of transaction, then focus on describing the Ecto way …


This content originally appeared on DEV Community and was authored by Curiosum

Today we're going to look at how Ecto, which is Elixir's first-choice database access library, addresses the issue of handling database transactions. We'll briefly introduce you to the very concept of transaction, then focus on describing the Ecto way of handling them, and explaining how it feels superior to what other languages' libraries offer us in this department. We'll give plenty of examples corresponding to a simple app you can pull from our GitHub repository, so you can have some fun testing it out! Read more...


This content originally appeared on DEV Community and was authored by Curiosum


Print Share Comment Cite Upload Translate Updates
APA

Curiosum | Sciencx (2021-10-22T21:57:21+00:00) How database transactions work in Ecto and why Elixir makes it awesome?. Retrieved from https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/

MLA
" » How database transactions work in Ecto and why Elixir makes it awesome?." Curiosum | Sciencx - Friday October 22, 2021, https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/
HARVARD
Curiosum | Sciencx Friday October 22, 2021 » How database transactions work in Ecto and why Elixir makes it awesome?., viewed ,<https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/>
VANCOUVER
Curiosum | Sciencx - » How database transactions work in Ecto and why Elixir makes it awesome?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/
CHICAGO
" » How database transactions work in Ecto and why Elixir makes it awesome?." Curiosum | Sciencx - Accessed . https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/
IEEE
" » How database transactions work in Ecto and why Elixir makes it awesome?." Curiosum | Sciencx [Online]. Available: https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/. [Accessed: ]
rf:citation
» How database transactions work in Ecto and why Elixir makes it awesome? | Curiosum | Sciencx | https://www.scien.cx/2021/10/22/how-database-transactions-work-in-ecto-and-why-elixir-makes-it-awesome/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.