mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Improve "Record Types Hide Intimate Database Details"
This commit is contained in:
1 parent
1d5604815d
commit
de2a37fb89
1 file changed
+1
-1
@@ -160,7 +160,7 @@ Let's look at three examples:
|
||||
}
|
||||
```
|
||||
|
||||
In Swift, it is not a good practice to use `String` for the type of the `Book.kind` property. We want an enum instead:
|
||||
In Swift, it is not a good practice to use `String` for the type of the `kind` property. We want an enum instead:
|
||||
|
||||
```swift
|
||||
struct Book: Codable {
|
||||
|
||||
Reference in new issue
Block a user