From 0cd2c067b662bb5897d5c9a7a40d87e4c1676e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 28 Sep 2016 20:44:28 +0200 Subject: [PATCH] GRDB Extension Guide: link to future reference --- Documentation/ExtendingGRDB.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/ExtendingGRDB.md b/Documentation/ExtendingGRDB.md index 0f1da3013..446588e0f 100644 --- a/Documentation/ExtendingGRDB.md +++ b/Documentation/ExtendingGRDB.md @@ -438,7 +438,7 @@ Build a `value IN (...)` expression from any sequence of [values](../../../#valu ![1,2,3].contains(Column("id")) ``` -The most general way to generate an `IN` operator is from any value that adopts the [SQLCollection](#TODO) protocol, like the [query interface requests](../../../#requests): +The most general way to generate an `IN` operator is from any value that adopts the [SQLCollection](http://cocoadocs.org/docsets/GRDB.swift/0.85.0/Protocols/SQLCollection.html) protocol, like the [query interface requests](../../../#requests): ```swift let request = Person.select(Column("id")) @@ -460,7 +460,7 @@ Build a `value BETWEEN min AND max` expression from Swift ranges: #### The EXISTS Operator -Build a `EXISTS(...)` expression from any value that adopts the [SQLSelectQuery](#TODO) protocol, like the [query interface requests](../../../#requests): +Build a `EXISTS(...)` expression from any value that adopts the [SQLSelectQuery](http://cocoadocs.org/docsets/GRDB.swift/0.85.0/Protocols/SQLSelectQuery.html) protocol, like the [query interface requests](../../../#requests): ```swift let request = Person.all() @@ -472,7 +472,7 @@ request.exists() #### The COUNT Function -Build a `COUNT(...)` expression from the [count](#TODO) and [count(distinct:)](#TODO) functions: +Build a `COUNT(...)` expression from the [count](http://cocoadocs.org/docsets/GRDB.swift/0.85.0/Functions.html) and [count(distinct:)](http://cocoadocs.org/docsets/GRDB.swift/0.85.0/Functions.html) functions: ```swift // SQLExpression: COUNT(email) @@ -563,4 +563,4 @@ You may want to compare it to another protocol, SQLSpecificExpressible, which ha > :point_up: **Note**: whenever you extend GRDB with a Swift function, method, or operator, you should generally make sure that its signature contains at least one GRDB-specific type. In the `cast` function, it is Database.ColumnType. -**If SQLExpressionLiteral reveals too limited for your purpose**, you may have to implement a new type that adopts the [SQLExpression](#TODO) protocol. +**If SQLExpressionLiteral reveals too limited for your purpose**, you may have to implement a new type that adopts the [SQLExpression](http://cocoadocs.org/docsets/GRDB.swift/0.85.0/Protocols/SQLExpression.html) protocol.