Ecto: A language integrated query for Elixir
summary
Ecto claims a language-integrated style for relational SQL in Elixir and shows concrete outcomes: composable query objects that are manipulated then executed by a repo, composability enabled by macros and a Queryable protocol that requires to_query, runtime safety with SQL-escaping via ^ and type checks, a working Postgres adapter that uses Postgres with poolboy connection pools and supervisor trees, and a model/entity split that yields explicit functions for validation and callbacks rather than hidden object coupling.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:14Topics
- 4:04Benefits
- 8:29Implementation mismatch
- 10:29Composability
- 12:19Data Security
- 14:22Type Safety
- 22:34Models
- 22:51Validations
- 23:55Callbacks








