Skip to content

Commit 42ddb5d

Browse files
authored
Fix docs in DefiningYourSchema.md
1 parent 995df0b commit 42ddb5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/StructuredQueriesCore/Documentation.docc/Articles/DefiningYourSchema.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ that represent those database definitions.
2121
* [Custom data types](#Custom-data-types)
2222
* [RawRepresentable](#RawRepresentable)
2323
* [JSON](#JSON)
24+
* [Tagged identifiers](#Tagged-identifiers)
2425
* [Default representations for dates and UUIDs](#Default-representations-for-dates-and-UUIDs)
2526
* [Primary keyed tables](#Primary-keyed-tables)
2627
* [Ephemeral columns](#Ephemeral-columns)
@@ -298,10 +299,11 @@ This adds a new layer of type-safety when constructing queries. Previously compa
298299
`RemindersList.ID` to a `Reminder.ID` would compile just fine, even though it is a nonsensical thing
299300
to do. But now, such a comparison is a compile time error:
300301

301-
```
302+
```swift
302303
RemindersList.leftJoin(Reminder.all) {
303304
$0.id == $1.id // 🛑 Requires the types 'Reminder.ID' and 'RemindersList.ID' be equivalent
304305
}
306+
```
305307

306308
#### Default representations for dates and UUIDs
307309

0 commit comments

Comments
 (0)