mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
README.md
This commit is contained in:
1 parent
532f682fc7
commit
4cea442b59
1 file changed
+1
-1
@@ -5127,7 +5127,7 @@ Those guarantees hold as long as you follow three rules:
|
||||
return try User.fetchOne(db)
|
||||
}
|
||||
// dbQueue is a singleton defined somewhere in your app
|
||||
let user = try dbQueue.inDatabase { db in
|
||||
let user = try dbQueue.inDatabase { db in // or dbPool.read { ... }
|
||||
try currentUser(db)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user