Documentation

This commit is contained in:
Gwendal Roué committed 2016-12-05 09:20:29 +01:00
1 parent 0793a0638e
commit 999c3be21a
1 file changed
+1 -1
+1 -1
View File
@@ -4801,7 +4801,7 @@ GRDB ships with two concurrency modes:
- **Guarantee 1**: writes are always *serialized*. At every moment, there is no more than a single thread that is writing into the database.
- **Guarantee 2**: reads are always *isolated*. This means that you can perform subsequent reads without fearing eventual concurrent writes to mess with your application logic:
- **Guarantee 2**: reads are always *isolated*. This means that they are guaranteed an immutable view of the last committed state of the database, and that you can perform subsequent fetches without fearing eventual concurrent writes to mess with your application logic:
```swift
try dbPool.read { db in // or dbQueue.inDatabase { ... }