Skip to content

Commit

Permalink
Merge pull request #1100 from gnarledrootsystems/patch-1
Browse files Browse the repository at this point in the history
Closing bracket position
  • Loading branch information
jberkel authored Dec 3, 2021
2 parents 60a6501 + a2bfb9e commit 1c86a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ joined by the `<-` operator. Upserting is like inserting, except if there is a
conflict on the specified column value, SQLite will perform an update on the row instead.

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

Expand Down

0 comments on commit 1c86a47

Please sign in to comment.