mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Update AssociationsBasics.md
Fixed a typo
This commit is contained in:
1 parent
e02f2c8aba
commit
aacaa433c9
1 file changed
+1
-1
@@ -1510,7 +1510,7 @@ let sortedAuthor = Book.author.order(Column("name"))
|
||||
let request = Book.including(required: sortedAuthor)
|
||||
```
|
||||
|
||||
When you sort both the base record on the associated record, the request is sorted on the base record first, and on the associated record next:
|
||||
When you sort both the base record and the associated record, the request is sorted on the base record first, and on the associated record next:
|
||||
|
||||
```swift
|
||||
// SELECT book.*, person.*
|
||||
|
||||
Reference in new issue
Block a user