mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Error handling documentation
This commit is contained in:
1 parent
c2e32c0bf2
commit
b45d6945b1
1 file changed
+2
-2
@@ -3386,7 +3386,7 @@ Solution: fix the SQL query.
|
||||
Row.fetchAll(db, "SELECT * FROM books")
|
||||
```
|
||||
|
||||
If you have to run untrusted SQL queries, jump to [untrusted databases](#how-to-deal-with-untrusted-inputs).
|
||||
If you do have to run untrusted SQL queries, jump to [untrusted databases](#how-to-deal-with-untrusted-inputs).
|
||||
|
||||
|
||||
#### False Assumptions
|
||||
@@ -3427,7 +3427,7 @@ dbQueue.inDatabase { db in
|
||||
}
|
||||
```
|
||||
|
||||
Solution: Avoid reentrancy, and instead pass a database connection along.
|
||||
Solution: avoid reentrancy, and instead pass a database connection along.
|
||||
|
||||
|
||||
### How to Deal with Untrusted Inputs
|
||||
|
||||
Reference in new issue
Block a user