mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Apply wording by @michaelkirk-signal
This commit is contained in:
1 parent
c2e68d95fe
commit
cc7d19d925
1 file changed
+1
-1
@@ -7395,7 +7395,7 @@ try dbQueue.write { db in
|
||||
}
|
||||
```
|
||||
|
||||
When you use a [database pool](#database-pools), make sure that no concurrent read can happen during the passphrase change with the `barrierWriteWithoutTransaction` method, and that all future reads open a new database connection with the `invalidateReadOnlyConnections` method:
|
||||
When you use a [database pool](#database-pools), make sure that no concurrent read can happen by changing the passphrase within the barrierWriteWithoutTransaction block. You must also ensure all future reads open a new database connection by calling the invalidateReadOnlyConnections method:
|
||||
|
||||
```swift
|
||||
try dbPool.barrierWriteWithoutTransaction { db in
|
||||
|
||||
Reference in new issue
Block a user