From c007c04afbd2c07ac834d1d4c569a4be975ae36c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 8 Oct 2018 08:58:21 +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 0976f2283..b0597ee5f 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -1060,7 +1060,7 @@ See how the `Book.author` has been joined or included, on each step, independent ```swift extension QueryInterfaceRequest where T == Book { - func filter(countryCode: String) -> QueryInterfaceRequest { + func filter(authorCountryCode: String) -> QueryInterfaceRequest { return joining(required: Book.author .filter(Column("countryCode") == countryCode)) } @@ -1078,7 +1078,7 @@ And now our complex request looks much simpler: ```swift let request = Book .including(required: Book.author) - .filter(countryCode: "ES") + .filter(authorCountryCode: "ES") .orderedByAuthorNameAndTitle() ```