mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
docs: add aggregates doc
This commit is contained in:
parent
0b7f48b7c2
commit
6825968ddf
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ Example:
|
|||
|
||||
```elixir
|
||||
aggregates do
|
||||
count :count_of_posts, :posts, filter: [published: true]
|
||||
count :count_of_posts, :posts do
|
||||
filter expr(published == true)
|
||||
end
|
||||
end
|
||||
```
|
||||
|
Loading…
Reference in a new issue