This commit is contained in:
Gwendal Roué committed 2017-10-12 21:52:51 +02:00
1 parent 006eee9f51
commit 313baa0064
1 file changed
+1 -1
+1 -1
View File
@@ -2454,7 +2454,7 @@ try dbQueue.inDatabase { db in
}
```
GRDB support for Codable only wprks for "flat" records, whose stored properties are all simple [values](#values) (Bool, Int, String, Date, Swift enums, etc.) For example, the following record is not flat:
GRDB support for Codable only works for "flat" records, whose stored properties are all simple [values](#values) (Bool, Int, String, Date, Swift enums, etc.) For example, the following record is not flat:
```swift
// Can't take profit from Codable code generation: