mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Documentation
This commit is contained in:
1 parent
43c04268ee
commit
58470fa959
1 file changed
+2
-2
@@ -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)
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user