mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Documentation
This commit is contained in:
1 parent
999c3be21a
commit
fb4643630b
1 file changed
+1
-1
@@ -401,7 +401,7 @@ Database pools allow several threads to access the database at the same time:
|
||||
|
||||
- When you don't need to modify the database, prefer the `read` method, because several threads can perform reads in parallel.
|
||||
|
||||
The total number of concurrent reads is limited. When the maximum number has been reached, a read waits for another read to complete. That maximum number can be configured (see below).
|
||||
The total number of concurrent reads is limited. When the maximum number has been reached, a read waits for another read to complete. That maximum number can be [configured](#databasepool-configuration).
|
||||
|
||||
- Conversely, writes are serialized. They don't block reads, but GRDB makes sure that `read` closures are guaranteed an immutable view of the last committed state of the database.
|
||||
|
||||
|
||||
Reference in new issue
Block a user