Skip to main content

count

Macro count 

Source
count!() { /* proc-macro */ }
Expand description

prax::count! — schema-aware DSL targeting count. Accepts where: (a non-unique filter block) and select: — the Prisma-style _count aggregate select (select: { _count: { posts: true } }), which lowers onto the model’s aggregate() path with the _count args populated.