Programming Ecto (PragProg)

Darin Wilson and @ericmj

Series editor Bruce Tate
Developmental editor Jacquelyn Carter

Learn how to use Ecto, the premier database library for Elixir, to connect your Elixir and Phoenix apps to databases. Co-authored by the creator of Ecto, this book provides the essentials you need to use Ecto effectively. Explore the core features—repos, queries, schemas, changesets, transactions—gradually building your knowledge with tasks of ever-increasing complexity. Build on that core knowledge with a series of recipes featuring more advanced topics. Speed up your test suite by running database tests concurrently. Use nested associations to handle complex table relationships. Add streams to handle large result sets with ease. These recipes cover the most common situations developers run into, based on questions from Ecto users.

Whether you’re new to Ecto, or already have an app in production, you’ll get a deeper understanding of how Ecto works, and how to make your database code cleaner and more efficient.


“Let’s face it, Ecto is not a small library. Darin and Eric did a fantastic job of breaking it all down into understandable pieces, giving a ton of examples along the way. You’ll learn how to use Ecto, and perhaps more importantly, how it was meant to be used.”

–Wojtek Mach, Hex Core Team and Consultant at Plataformatec


Don’t forget you can get 35% off with our Devtalk discount - just use the coupon code “devtalk.com" at checkout :023:

2 Likes