Ash FrameworkAF
Ash Framework3y ago
8 replies
Blibs

What is the equivalent of Ecto's Repo.exists? in Ash?

Let's say I have a Post resource, and I want to create a read action that instead of returning a specific Post, I want it just to check if the post exists and return only true/false just like Ecto's Repo.exists? does.

Is that possible with Ash?
Was this page helpful?