Fix sample code

This commit is contained in:
Gwendal Roué committed 2021-03-09 08:29:14 +01:00
1 parent 9bda5fc41b
commit cdbca5d215
1 file changed
+1 -1
+1 -1
View File
@@ -1321,7 +1321,7 @@ Associations support more refinements:
Fetch all authors with the year of their latest book for each kind (novels, poems, plays, etc):
```swift
struct BookKindInfo: Decodable, FetchableRecord {
struct BookKindInfo: Decodable {
var kind: Book.Kind
var maxYear: Int
}