From 4b565ae262fd0e7d31d80003bd0f5ba8aa40f54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 20 May 2019 06:22:07 +0200 Subject: [PATCH] Association documentation --- Documentation/AssociationsBasics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/AssociationsBasics.md b/Documentation/AssociationsBasics.md index ecf2ba4e0..b47d56558 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -149,7 +149,7 @@ Generally speaking, associations use the [TableRecord], [FetchableRecord], and [ // Who's prolific? let authors = try dbQueue.read { db in try Author - .having(Author.book.count >= 20) + .having(Author.books.count >= 20) .fetchAll(db) // [Author] } ```