|
4 | 4 | /// |
5 | 5 | /// - note: [**🔥 EXPERIMENTAL**](https://github.com/groue/GRDB.swift/blob/master/README.md#what-are-experimental-features) |
6 | 6 | /// |
7 | | -/// The use case for a custom schema source is enabling GRDB features that |
8 | | -/// would not work with the built-in schema introspection that is provided |
| 7 | +/// The use case for a custom schema source is to enable GRDB features that |
| 8 | +/// would not work with the built-in schema introspection provided |
9 | 9 | /// by SQLite. |
10 | 10 | /// |
11 | 11 | /// For example, if your database schema contains a view and you wish to use |
@@ -60,9 +60,9 @@ public protocol DatabaseSchemaSource: Sendable { |
60 | 60 | /// Returns the names of the columns for the primary key in the |
61 | 61 | /// provided database view. |
62 | 62 | /// |
63 | | - /// Return nil if no customization should happen. Return an empty array |
64 | | - /// to specify that the view has no primary key. The default |
65 | | - /// implementation returns nil. |
| 63 | + /// Return `nil` if no customization should happen. Return an empty |
| 64 | + /// array to specify that the view has no primary key. The default |
| 65 | + /// implementation returns `nil`. |
66 | 66 | /// |
67 | 67 | /// In your implementation, make sure that the returned columns define |
68 | 68 | /// a genuine **primary key**: |
@@ -113,7 +113,7 @@ public protocol DatabaseSchemaSource: Sendable { |
113 | 113 | /// those views. |
114 | 114 | /// |
115 | 115 | /// In this case, make your schema source `public`, and have this method |
116 | | - /// return `nil` for those unknow views. If needed, use the `db` |
| 116 | + /// return `nil` for those unknown views. If needed, use the `db` |
117 | 117 | /// argument and query the database schema with |
118 | 118 | /// <doc:DatabaseSchemaIntrospection> methods. |
119 | 119 | /// |
@@ -179,7 +179,7 @@ extension DatabaseSchemaSource { |
179 | 179 |
|
180 | 180 | extension DatabaseSchemaSource { |
181 | 181 | /// Returns a schema source that queries `other` when this source does |
182 | | - /// not perform customization. |
| 182 | + /// not perform a customization. |
183 | 183 | /// |
184 | 184 | /// For example: |
185 | 185 | /// |
|
0 commit comments