Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
`on_conflict: :nothing` for a create action - Ash Framework
AF
Ash Framework
โข
6mo ago
โข
8 replies
minib
`on_conflict: :nothing` for a create action
Is there a way to set something like
on_conflict: :nothing
on_conflict: :nothing
for a create action
?
I
've added this to my action
, but IMO it looks weird
:
upsert? true
upsert_condition expr(false)
upsert? true
upsert_condition expr(false)
Maybe there is a better way to handle this
?
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
Upsert with ON CONFLICT DO NOTHING
AF
Ash Framework / support
8mo ago
How to create a second resource on a create action?
AF
Ash Framework / support
3y ago
Load data from id for a policy check during a create action
AF
Ash Framework / support
4y ago
Policies for `create` upsert actions
AF
Ash Framework / support
10mo ago