Skip to content

Commit 1c86a47

Browse files
authored
Merge pull request #1100 from gnarledrootsystems/patch-1
Closing bracket position
2 parents 60a6501 + a2bfb9e commit 1c86a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ joined by the `<-` operator. Upserting is like inserting, except if there is a
11741174
conflict on the specified column value, SQLite will perform an update on the row instead.
11751175

11761176
```swift
1177-
try db.run(users.upsert(email <- "[email protected]", name <- "Alice"), onConflictOf: email)
1177+
try db.run(users.upsert(email <- "[email protected]", name <- "Alice", onConflictOf: email))
11781178
// INSERT INTO "users" ("email", "name") VALUES ('[email protected]', 'Alice') ON CONFLICT (\"email\") DO UPDATE SET \"name\" = \"excluded\".\"name\"
11791179
```
11801180

0 commit comments

Comments
 (0)