Remove useless documentation paragraph

This commit is contained in:
Gwendal Roué committed 2019-08-05 08:38:25 +02:00
1 parent f849c38f43
commit efaa387ee2
1 file changed
-13
-13
View File
@@ -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