From 58470fa95915a25530edde38ac1e8a2cb48c594c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 7 Oct 2018 18:50:50 +0200 Subject: [PATCH] Documentation --- Documentation/AssociationsBasics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/AssociationsBasics.md b/Documentation/AssociationsBasics.md index 34734887b..a55faa2ab 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -1648,7 +1648,7 @@ The `having(_:)` method filters a request according to an aggregated value. You ```swift - let request = Author.having(Author.books.count > Author.painting.count) + let request = Author.having(Author.books.count > Author.paintings.count) ``` - Authors who wrote no book, but made at least one painting: @@ -1668,7 +1668,7 @@ The `having(_:)` method filters a request according to an aggregated value. You ```swift - let request = Author.having(Author.books.isEmpty && !Author.painting.isEmpty) + let request = Author.having(Author.books.isEmpty && !Author.paintings.isEmpty) ```