Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Autoload an aggregation, relationship or calculation in a read action - Ash Framework
AF
Ash Framework
โข
4y ago
โข
8 replies
Blibs
Autoload an aggregation, relationship or calculation in a read action
I have a read action where I want to return the data with some aggregation
/relationship
/calculation data already computed instead of returning
#Ash.NotLoaded<>
#Ash.NotLoaded<>
in these fields and having to manually run the
load
load
function to load them
.
I can
't find in the documentation how to do that
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
How to autoload a relationship?
AF
Ash Framework / support
3y ago
Found read action while expecting an action of type relationship...
AF
Ash Framework / support
4y ago
Best option to read a relationship which has policy in Action
AF
Ash Framework / support
7mo ago
How to use relationship id in a `get_by` read action
AF
Ash Framework / support
3y ago