Learn how to access a relational database from the Elixir application.
Intermediate
164 Lessons
60h
Certificate of Completion
Learn how to access a relational database from the Elixir application.
AI-POWERED
AI-POWERED
This course includes
This course includes
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...
What You'll Learn
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
What You'll Learn
Learn to connect your Elixir applications with relational databases using Ecto
Show more
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
Course Author
Trusted by 1.4 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Carlos Matias La Borde
Software Developer
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Eric Downs
Musician/Entrepeneur
Kenan Eyvazov
DevOps Engineer
Souvik Kundu
Front-end Developer
Eric Downs
Musician/Entrepeneur
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
See how Educative uses AI to make your learning more immersive than ever before.