From c7b9358bc7555126685e5c879bb74f6db0728db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 26 Feb 2018 22:29:58 +0100 Subject: [PATCH] Documentation polish --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 32b1bd898..82f2e4340 100644 --- a/README.md +++ b/README.md @@ -3761,7 +3761,7 @@ protocol FetchRequest { } ``` -The `RowDecoder` tells a request how to decode rows. It can be any type, but not all types have built-in support. See [Fetching From Custom Requests](#fetching-from-custom-requests) below. +The `RowDecoder` associated type tells a request how to decode rows. It can be any type, but not all types have built-in support. See [Fetching From Custom Requests](#fetching-from-custom-requests) below. The `prepare` method returns a prepared statement and an optional row adapter. The [prepared statement](#prepared-statements) tells which SQL query should be executed. The row adapter helps presenting the fetched rows in the way expected by the row decoders (see [row adapter](#row-adapters)). @@ -3782,7 +3782,7 @@ The `fetchedRegion` method helps [transaction observers](#transactionobserver-pr let request = SQLRequest( "SELECT * FROM players WHERE color = ?" arguments: [color]) - }s + } } // [Player] @@ -3800,7 +3800,7 @@ The `fetchedRegion` method helps [transaction observers](#transactionobserver-pr - The `adapted(_:)` method eases the consumption of complex rows with [row adapters](#row-adapters). See [Joined Queries Support](#joined-queries-support) for some sample code that uses this method. -- [AnyFetchRequest](http://groue.github.io/GRDB.swift/docs/2.9/Structs/AnyFetchRequest.html): a type-erased request +- [AnyFetchRequest](http://groue.github.io/GRDB.swift/docs/2.9/Structs/AnyFetchRequest.html): a [type-erased](http://chris.eidhof.nl/post/type-erasers-in-swift/) request. ### Fetching From Custom Requests