Skip to content

Commit b210ec7

Browse files
committed
View Records guide
1 parent a7e3acf commit b210ec7

File tree

7 files changed

+516
-58
lines changed

7 files changed

+516
-58
lines changed

GRDB/Core/DatabaseSchemaSource.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
/// GRDB features that need a primary key, such as the
1313
/// ``FetchableRecord/find(_:id:)`` record method, or the persistence
1414
/// methods of the ``PersistableRecord`` protocol, then use a schema source
15-
/// that implements the ``columnsForPrimaryKey(_:inView:)`` method.
15+
/// that implements the ``columnsForPrimaryKey(_:inView:)`` method. See
16+
/// <doc:ViewRecords> for a detailed guide about such views.
1617
///
1718
/// ## Enabling a Schema Source
1819
///

GRDB/Documentation.docc/GRDB.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ let players: [Player] = try dbQueue.read { db in
9494
- <doc:RecordRecommendedPractices>
9595
- <doc:RecordTimestamps>
9696
- <doc:SingleRowTables>
97+
- <doc:ViewRecords>
9798

9899
### Application Tools
99100

0 commit comments

Comments
 (0)