From 02a21b8050485d34afec4101ccfadd266a87f1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 22 May 2016 20:18:49 +0200 Subject: [PATCH] FetchRequest documentation --- GRDB/FetchRequest/FetchRequest.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GRDB/FetchRequest/FetchRequest.swift b/GRDB/FetchRequest/FetchRequest.swift index 042c7c26a..3ceab5250 100644 --- a/GRDB/FetchRequest/FetchRequest.swift +++ b/GRDB/FetchRequest/FetchRequest.swift @@ -1,7 +1,8 @@ /// The protocol for all types that define a way to fetch values from -/// the database. +/// a database. /// -/// See https://github.com/groue/GRDB.swift#the-query-interface +/// It is adopted by QueryInterfaceRequest. Your own custom types can adopt it +/// as well, and define a way to fetch values, rows, and records. public protocol FetchRequest { /// A prepared statement that is ready to be executed. func selectStatement(db: Database) throws -> SelectStatement