Search
Star
Feedback
Setup for Free
Β© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
What is the equivalent of Ecto's Repo.exists? in Ash? - Ash Framework
AF
Ash Framework
β’
3y ago
β’
8 replies
Blibs
What is the equivalent of Ecto's Repo.exists? in Ash?
Let
's say I have a
Post
Post
resource
, and I want to create a
read
read
action that instead of returning a specific
Post
Post
, I want it just to check if the post exists and return only true
/false just like Ecto
's
Repo.exists?
Repo.exists?
does
.
Is that possible with Ash
?
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
Are Ecto.Multi or something equivalent supported in Ash?
AF
Ash Framework / support
4y ago
Ecto.Repo.insert! compatibility issue as of ash v2.5.10
AF
Ash Framework / support
4y ago
Ash Resources with Ecto Multi
AF
Ash Framework / support
4y ago
What is the difference between `mix ecto.create` and `mix ash_postgres.create`.
AF
Ash Framework / support
3y ago