This commit is contained in:
Gwendal Roué committed 2019-09-04 18:49:47 +02:00
1 parent a1c96f9093
commit bfa1689d7d
1 file changed
+1 -1
+1 -1
View File
@@ -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 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:
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