mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
README.md
This commit is contained in:
1 parent
efc1ed4151
commit
6ab51cd207
1 file changed
+2
-2
@@ -1854,10 +1854,10 @@ See [Column Values](#column-values) for more information about the `row.value()`
|
||||
The Country class is now ready:
|
||||
|
||||
```swift
|
||||
dbQueue.inDatabase { db in
|
||||
try dbQueue.inDatabase { db in
|
||||
let unitedStates = Country.fetchOne(db, key: "US")!
|
||||
let country = Country(isoCode: "FR", name: "France")
|
||||
country.insert(db)
|
||||
try country.insert(db)
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user