From b45d6945b1ae57d04dd2debefc195fa8753b36f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 6 Aug 2016 11:15:41 +0200 Subject: [PATCH] Error handling documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 596694ab6..fc50ad9f4 100644 --- a/README.md +++ b/README.md @@ -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