From efaa387ee24c5a8f8350e87f908b3d28c37832f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 5 Aug 2019 08:38:25 +0200 Subject: [PATCH] Remove useless documentation paragraph --- Documentation/AssociationsBasics.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Documentation/AssociationsBasics.md b/Documentation/AssociationsBasics.md index f20f176b6..a47f1d8b9 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -822,19 +822,6 @@ let novels = try author .fetchAll(db) // [Book] ``` -Those requests can also turn out useful when you want to track their changes with [database observation tools] like [ValueObservation]: - -```swift -// Track changes in the author's books: -let author: Author = ... -author.books.observationForAll().start( - in: dbQueue, - onError: { error in ... }, - onChange: { (books: [Book]) in - print("Author's book have changed") - }) -``` - ## Joining And Prefetching Associated Records