Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Setting up a has_many relationship through another resource? - Ash Framework
AF
Ash Framework
โข
8mo ago
โข
2 replies
jonas_h
Setting up a has_many relationship through another resource?
For instance
, how do you translate this Ecto query
?
has_many(:comments, through: [:posts, :comments])
has_many(:comments, through: [:posts, :comments])
I couldn
't find any mention of this in the docs
(only for
many_to_many
many_to_many
)
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
accessing_from for a has_many relationship?
AF
Ash Framework / support
3mo ago
AshGraphql: Updating a managed has_many relationship
AF
Ash Framework / support
3y ago
Example of setting a has_one relationship
AF
Ash Framework / support
4y ago
Embed `has_one` relationship into resource
AF
Ash Framework / support
3y ago