Documentation

This commit is contained in:
Gwendal Roué committed 2018-10-07 18:50:50 +02:00
1 parent 43c04268ee
commit 58470fa959
1 file changed
+2 -2
+2 -2
View File
@@ -1648,7 +1648,7 @@ The `having(_:)` method filters a request according to an aggregated value. You
</details>
```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
</details>
```swift
let request = Author.having(Author.books.isEmpty && !Author.painting.isEmpty)
let request = Author.having(Author.books.isEmpty && !Author.paintings.isEmpty)
```