Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Composite primary keys vs through - Ash Framework
AF
Ash Framework
โข
6mo ago
โข
8 replies
Songyun
Composite primary keys vs through
It looks like
destination/source_attribute_on_join_resource
destination/source_attribute_on_join_resource
both expect an atom
. Is it possible to reference a composite key on a join table
? I am trying to set up a
many_to_many
many_to_many
relationship
.
Solution
But you can use a has
_many with a filter
Jump to solution
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Migration generator splitting composite primary keys
AF
Ash Framework / support
3y ago
`AshJsonApi` composite primary key
AF
Ash Framework / support
3y ago
Differences between UUID primary keys in Ecto vs Ash
AF
Ash Framework / support
3y ago
ash json patch with composite primary key
AF
Ash Framework / support
8mo ago