Intermediate
164 Lessons
60h
Certificate of Completion
Takeaway Skills
Learn to connect your Elixir applications with relational databases using Ecto
Gain mastery over core modules of Ecto
Learn to speed up your test suite by writing concurrent tests
Learn the use of nested associations to handle complex table relationships
Learn to add streams to handle large result sets with ease
Course Overview
Ecto is a database library that ships natively with Phoenix, and is an important component of the Elixir ecosystem. This course is both an introduction and a comprehensive guide into the functionality of Ecto. You’ll start with the basic functions of relational databases—repos, queries, schemas, changesets, and transactions—to build your knowledge of Elixir and Ecto. You’ll apply these concepts on increasingly complex challenges to master Ecto’s syntax, and consequently build a sample application. You’ll t...
Course Content
Introduction to This Course
Part I: Ecto Fundamentals
Get Started with Repo
Query Your Database
Connect Tables to Elixir Structs with Schemas
Make Changes with Changesets
15 Lessons
Make Multiple Changes with Transactions and the Multi Module
12 Lessons
Make Changes to the Database
13 Lessons
Part II: Ecto Applied
1 Lesson
Add Ecto to an Elixir Application Without Phoenix
8 Lessons
Work with Changesets and Phoenix Forms
7 Lessons
Test with Sandboxes
6 Lessons
Create and Use Custom Types
5 Lessons
Inserting and Updating with Upserts
7 Lessons
Optimizeing Your Application Design
6 Lessons
Work with Embedded Schemas
6 Lessons
Creating Polymorphic Associations
7 Lessons
Optimize IEx for Ecto
5 Lessons
Use Schemas Without Tables
6 Lessons
Tune for Performance
6 Lessons
Conclusion
1 Lesson
How You'll Learn
You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.
Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.
Learn faster and smarter with adaptive AI tools embedded in every Educative course.
Built-in assessments let you test your skills. Completion certificates let you show them off.