From 6825968ddf8fcbac04d00b1b0ded54fb6a91efb7 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 22 Aug 2022 22:07:25 -0400 Subject: [PATCH] docs: add aggregates doc --- {old_documentation => documentation}/topics/aggregates.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename {old_documentation => documentation}/topics/aggregates.md (92%) diff --git a/old_documentation/topics/aggregates.md b/documentation/topics/aggregates.md similarity index 92% rename from old_documentation/topics/aggregates.md rename to documentation/topics/aggregates.md index 1be6c275..cc4713a2 100644 --- a/old_documentation/topics/aggregates.md +++ b/documentation/topics/aggregates.md @@ -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 ```