From e1584cd5040f085dfb5900f261c76e344e44545c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 6 Oct 2015 09:03:07 +0200 Subject: [PATCH] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d85eb1bbe..5fe003a62 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ for row in Row.fetch(db, "SELECT ...") { **Read column values** by index or column name: ```swift -let name: String = row.value(atIndex: 0) +let name: String = row.value(atIndex: 0) // 0 is the leftmost column let name: String = row.value(named: "name") ``` @@ -396,7 +396,7 @@ See [Values](#values) for more information on supported types. ### Value Queries -Instead of rows, you can directly fetch **values**. Like rows, fetch them as **sequences**, **arrays**, or **single** values: +Instead of rows, you can directly fetch **values**. Like rows, fetch them as **sequences**, **arrays**, or **single** values. Values are extracted from the leftmost column of the SQL queries: ```swift dbQueue.inDatabase { db in