Ash FrameworkAF
Ash Framework4mo ago
8 replies
minib

`on_conflict: :nothing` for a create action

Is there a way to set something like 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)


Maybe there is a better way to handle this?
Was this page helpful?