mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Fix typo
This commit is contained in:
1 parent
1cd88114ec
commit
6512e7bf61
1 file changed
+1
-1
@@ -258,7 +258,7 @@ extension AppDatabase {
|
||||
/// Inserts a player. When the method returns, the
|
||||
/// player id is set to the newly inserted id.
|
||||
func insertPlayer(_ player: inout Player) throws {
|
||||
try dbQueue.write { db in
|
||||
try dbWriter.write { db in
|
||||
try db.execute(literal: """
|
||||
INSERT INTO player (name, score)
|
||||
VALUES (\(player.name), \(player.score))
|
||||
|
||||
Reference in new issue
Block a user