From fde53b13c61bdb3bdfe5cd3154775541523050e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 20 May 2019 07:28:59 +0200 Subject: [PATCH] Association documentation --- Documentation/AssociationsBasics.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/AssociationsBasics.md b/Documentation/AssociationsBasics.md index 598aaf993..d32e8bf38 100644 --- a/Documentation/AssociationsBasics.md +++ b/Documentation/AssociationsBasics.md @@ -423,7 +423,7 @@ migrator.registerMigration("Employees") { db in } ``` -Note that both sides of the self-join use a customized [association key]. This helps consuming this association. For example: +Note that both sides of the self-join use a customized **[association key](#the-structure-of-a-joined-request)**. This helps consuming this association. For example: ```swift struct EmployeeInfo: FetchableRecord, Decodable { @@ -439,6 +439,8 @@ let request = Employee let employeeInfos: [EmployeeInfo] = try EmployeeInfo.fetchAll(db, request) ``` +See [Fetching Values from Associations] for more information. + Associations and the Database Schema ====================================