Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to make simple select count with Ash - Ash Framework
AF
Ash Framework
โข
3y ago
โข
10 replies
moissela
How to make simple select count with Ash
Hi
,
maybe a noob question here
but I
'm wondering which is the right way of making a simple select count of my Users on a Postgres
-based app
.
I could do that with
MyApi.count(MyResource)
MyApi.count(MyResource)
but on the docs that method belongs to the ambigous
Ash.Filter.ShadowApi
Ash.Filter.ShadowApi
module
.
I can
't find anything else on the docs
For context
, I
'm trying to make some filtered and unfiltered counts on my direct resource and not an aggregate count on related resources
.
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
Ash.DataLayer.Simple with AshJsonApi.Resource
AF
Ash Framework / support
5mo ago
AshMoney with Ash.Generator
AF
Ash Framework / support
9mo ago
Use Ash policies with simple functions
AF
Ash Framework / support
3y ago
no data in Ash.DataLayer.Simple
AF
Ash Framework / support
4y ago