docs: add aggregates doc

This commit is contained in:
Zach Daniel 2022-08-22 22:07:25 -04:00
parent 0b7f48b7c2
commit 6825968ddf

View file

@ -8,7 +8,9 @@ Example:
```elixir ```elixir
aggregates do aggregates do
count :count_of_posts, :posts, filter: [published: true] count :count_of_posts, :posts do
filter expr(published == true)
end
end end
``` ```