Search
Star
1.4k
Feedback
Setup for Free
AF
Ash Framework
•
6mo ago
•
7 replies
JVMartyns
How to pass `opts` to Repo module functions?
Example
:
opts = [settings: [final: 1]] Repo.get(User, id, opts)
opts = [settings: [final: 1]] Repo.get(User, id, opts)
Can it be passed through resource actions
?
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,180
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
opts
=
[
settings:
[
final:
1
]]
Repo
.
get
(
User
, id, opts)
opts
=
[
settings:
[
final:
1
]]
Repo
.
get
(
User
, id, opts)
Similar Threads
How to pass args to Api.read
AF
Ash Framework / support
3y ago
AshJsonAPI - How to pass a tenant?
AF
Ash Framework / support
6mo ago
How should module calculations return errors?
AF
Ash Framework / support
3y ago
pass attribute to expression in calculation
AF
Ash Framework / support
3mo ago