Ash Framework for Phoenix Developers
/
Chapter 4: Relationships – How to Link Records
Chapter 4: Relationships – How to Link Records
https://leanpub.com/ash-phoenix
4.1 Has Many Relationship
https://leanpub.com/ash-phoenix
4.1.1 Create Parent and Child at the Same Time
https://leanpub.com/ash-phoenix
4.2 How to Read Related Data with
Ash.Query.load/2
https://leanpub.com/ash-phoenix
4.3 Belongs To Relationship
https://leanpub.com/ash-phoenix
4.4 Create Child and Parent at the Same Time
https://leanpub.com/ash-phoenix
4.5 Many To Many Relationship
https://leanpub.com/ash-phoenix
4.6 Has One
https://leanpub.com/ash-phoenix
4.7 Filtering With Relationships
https://leanpub.com/ash-phoenix
4.8 Retrieving Nested Relationships
https://leanpub.com/ash-phoenix
4.9 Deleting Records With Related Records
https://leanpub.com/ash-phoenix
4.9.1 Deleting at the Data Layer (Postgres)
https://leanpub.com/ash-phoenix
4.9.2 Nullifying Related Records Instead of Deleting
https://leanpub.com/ash-phoenix
4.9.3 Delete Related Records Without Relying on the Data Layer
https://leanpub.com/ash-phoenix
Summary
https://leanpub.com/ash-phoenix
Previous
Chapter 3: Actions
Up next
Chapter 5: Calculations and Aggregates
In this chapter
Chapter 4: Relationships – How to Link Records
4.1 Has Many Relationship
4.2 How to Read Related Data with Ash.Query.load/2
4.3 Belongs To Relationship
4.4 Create Child and Parent at the Same Time
4.5 Many To Many Relationship
4.6 Has One
4.7 Filtering With Relationships
4.8 Retrieving Nested Relationships
4.9 Deleting Records With Related Records