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
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.
maybe a noob question here
I could do that with
MyApi.count(MyResource) but on the docs that method belongs to the ambigous 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.
