Welcome to our Elixir Ecto course! In this comprehensive program, you will delve into the world of Ecto, the powerful database wrapper and query generator for Elixir. Through practical examples and hands-on exercises, you will learn how to interact with databases, design schemas, perform complex queries, and handle data migrations using Ecto. When you’re done, you’ll have a better understanding of setting up, writing queries, and updating databases using Ecto.
Ecto is the de facto persistence layer for Elixir. It works best with relational databases, but some extensions are emerging for other data base abstractions too. The database layer lets you fetch database data so you can deal with it in your application or create data in your appliction and save it to the database in a reliable way.
The primary features are an API that features a clean separation between functions that work with data, and functions that interact directly with the database system. Ecto also features changesets which let users deal with user input in a practical way that enables both effective user interfaces and database integrity.
Design and Setup | |
---|---|
Intro. Design for Ecto | 11:23 |
1. Ecto Without Phoenix | 25:46 |
2. Ecto Schemas | 13:13 |
Queries | |
---|---|
3. Ecto Query Overview | 7:06 |
4. Using Ecto Select to Shape Query Results | 9:18 |
5. Ecto Query Dimensions | 6:46 |
Relationships | |
---|---|
6. Ecto Associations | 26:05 |
7. Ecto Join and Preload | 14:17 |
8. Ecto Bindings | 18:16 |
Updates & Advanced Topics | |
---|---|
9. Ecto Reflection | 9:52 |
10. Database Integrity Explained | 25:21 |
11. Ecto Transactions and Multis | 12:01 |