From 71d4565aa5e84cdeb8139b9bbeaa665780aacc14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 20 Jan 2017 18:12:19 +0100 Subject: [PATCH] Typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c70bc8386..ee97a2926 100644 --- a/README.md +++ b/README.md @@ -590,7 +590,7 @@ try Type.fetchOne(...) // Type? **Whenever you consume several rows from the database, you can fetch a Cursor, or an Array**. -Array contains copies of database values and may be consumed on any thread. But they can take a lot of memory. Conversely, cursors iterate over database results in a lazy fashion, don't consume much memory, and are generally more efficient. But they must be consumed in a [protected dispatch queue](#database-connections): +Arrays contain copies of database values and may be consumed on any thread. But they can take a lot of memory. Conversely, cursors iterate over database results in a lazy fashion, don't consume much memory, and are generally more efficient. But they must be consumed in a [protected dispatch queue](#database-connections): ```swift let rows = try Row.fetchAll(db, "SELECT ...") // [Row] @@ -2509,7 +2509,7 @@ let count = try request.fetchCount(db) // Int ³ See [SQL queries](#fetch-queries): ```swift -let persons = try request.fetchAll("SELECT * FROM persons WHERE id = ?", arguments: [1]) // [Person] +let persons = try Person.fetchAll("SELECT * FROM persons WHERE id = ?", arguments: [1]) // [Person] ``` ⁴ See [Prepared Statements](#prepared-statements):