Free eBook

The Little Ecto Cookbook

The Plataformatec team brings an updated collection of recipes on how to best use different features of Ecto 3.2 and later. This free ebook is made of 12 chapters:


• Foreword by José Valim *exclusive*

• Ecto is not your ORM *exclusive*

Schemaless queries

Data mapping and validation

Dynamic queries

Multi tenancy with query prefixes

• Aggregates and subqueries

• Test factories

• Constraints and Upserts

• Polymorphic associations with many to many

• Composable transactions with Multi

• Replicas and dynamic repositories


Download your copy filling out the form to the right. It's free!


The Ecto recipes were originally written for the "What's new in Ecto 2" ebook and then made open-source by Plataformatec. Since then, the community has joined our efforts and made many contributions. The end result is this ebook, curated by Plataformatec, which includes a foreword and an exclusive chapter written by José Valim, creator of Elixir.


Note: there seems to be a problem with filling the form for Brave Browser users and anyone that has the ad-block "uBlock Origin", if you have those, you may need to change browser, or disable uBlock Origin.


Stay up to date with the latest features in Ecto.

Fill the form below to receive the ebook!