From 10a6f833f98246ffbe68cfafa76f5b824f0f4de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 29 Sep 2015 10:13:18 +0200 Subject: [PATCH] README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ebcf1e79..db72f5d91 100644 --- a/README.md +++ b/README.md @@ -237,6 +237,12 @@ The last two methods are the only ones that don't take a custom SQL query as an ### Row Queries +- [Fetching Rows](#fetching-rows) +- [Column Values](#column-values) +- [Rows as Dictionaries](#rows-as-dictionaries) +- [RowConvertible Protocol](#rowconvertible-protocol) + + Fetch **sequences** of rows, **arrays**, or a **single** row: ```swift @@ -342,7 +348,7 @@ for (columnName, databaseValue) in row { ... } // ("a", 1), ("a", 2) ``` -#### RowConvertible +#### RowConvertible Protocol You may use the `RowConvertible` protocol, which **grants fetching methods to any type** that can be initialized from a database row: