From fb7ace729c720506abaef2ca070a8ee8de77b000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 12 Dec 2016 08:41:18 +0100 Subject: [PATCH] Documentation --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 82f28e0e6..60d5a3f55 100644 --- a/README.md +++ b/README.md @@ -3289,14 +3289,12 @@ let maxScore = Player // Int? .fetchOne(db) ``` -Build `SQLRequest` bound to your record types: +Bind custom SQL requests to your record types: ```swift extension Person { static func someCustomRequest() -> AnyTypedRequest { - // Some custom SQL let sqlRequest = SQLRequest("SELECT * FROM persons") - // Bind the raw request to the Person type return sqlRequest.bound(to: Person.self) } }