mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Concurrency documentation
This commit is contained in:
1 parent
3565350474
commit
6838baeb8c
1 file changed
-2
@@ -729,8 +729,6 @@ dbQueue.inDatabase { db in
|
||||
- All methods that *read* data crash without notice.
|
||||
- All methods that *write* data throw.
|
||||
|
||||
**When there are several concurrent connections to a single database file, reading methods may fail, and crash.** To avoid those failure, wrap your concurrent reading methods in a transaction, and see [Concurrency](#concurrency) for more information about concurrent database access.
|
||||
|
||||
```swift
|
||||
// fatal error:
|
||||
// SQLite error 1 with statement `SELECT foo FROM bar`: no such table: bar
|
||||
|
||||
Reference in new issue
Block a user