Skip to content

Commit 64dead3

Browse files
committed
wip
1 parent 293947f commit 64dead3

File tree

6 files changed

+224
-121
lines changed

6 files changed

+224
-121
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ and will decode data from the database using the `RawRepresentable` conformance
187187
@Row {
188188
@Column {
189189
```swift
190-
Reminder.insert(
190+
Reminder.insert {
191191
Reminder.Draft(
192192
title: "Get haircut",
193193
priority: .medium
194194
)
195-
)
195+
}
196196
```
197197
}
198198
@Column {
@@ -238,12 +238,12 @@ With that you can insert reminders with notes like so:
238238
@Row {
239239
@Column {
240240
```swift
241-
Reminder.insert(
241+
Reminder.insert {
242242
Reminder.Draft(
243243
title: "Get groceries",
244244
notes: ["Milk", "Eggs", "Bananas"]
245245
)
246-
)
246+
}
247247
```
248248
}
249249
@Column {
@@ -294,9 +294,9 @@ And StructuredQueries will take care of formatting the value for the database:
294294
@Row {
295295
@Column {
296296
```swift
297-
Reminder.insert(
297+
Reminder.insert {
298298
Reminder.Draft(date: Date())
299-
)
299+
}
300300
```
301301
}
302302
@Column {

0 commit comments

Comments
 (0)