April 2016
Beginner to intermediate
300 pages
6h 58m
English
In the last chapter, we extended our application domain by associating videos to users. Now we’ll let users organize their videos with categories. We want our users to select which category a video belongs to upon video creation. To build this feature, you’ll need to learn more about Ecto queries and the different ways you can retrieve data from the database.
We want to build our feature safely so that corrupt data can’t creep into our database, so we’ll spend some time working with database constraints. Database engines like Postgres are called relational for a reason. A tremendous amount of time and effort has gone into tools and features that help developers define and enforce the relationships between ...
Read now
Unlock full access