mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Fix typo
This commit is contained in:
1 parent
cbbc12adc0
commit
2c59f838aa
1 file changed
+1
-1
@@ -2135,7 +2135,7 @@ try player.insert(db)
|
||||
To fetch records from the database, call a [fetching methods](#fetching-methods):
|
||||
|
||||
```swift
|
||||
let arthur = try Player.fetchOne(db, // [Player]
|
||||
let arthur = try Player.fetchOne(db, // Player?
|
||||
"SELECT * FROM players WHERE name = ?",
|
||||
arguments: ["Arthur"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user