README.md

This commit is contained in:
Gwendal Roué committed 2015-07-11 17:15:06 +02:00
1 parent eba8c97bec
commit ae3a0490ee
1 file changed
+1 -1
+1 -1
View File
@@ -505,7 +505,7 @@ dbQueue.inDatabase { db in
**The rule** is:
- All methods that *read* data crash.
- All methods that *write* data throw an error.
- All methods that *write* data throw.
> Rationale: we assume that *all* reading errors are either SQL errors that the developer should fix (a syntax error, a wrong column name), or external I/O errors that are beyond repair and better hidden behind a crash. Write errors may be relational errors (violated unique index, missing reference) and you may want to handle relational errors yourselves.
>