Skip to content

Commit

Permalink
Fixing example in the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
henvic committed Sep 23, 2024
1 parent 3e8f51b commit c3c3f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sql, args, err := pgq.Update("employees").
Set("salary_bonus", pgq.Expr("salary_bonus + 1000")).
From("accounts").
Where("accounts.team = ?", "engineering").
Returning("id", "name", "salary")
Returning("id", "name", "salary").SQL()

if err != nil {
panic(err) // bug: this should never happen.
Expand Down

0 comments on commit c3c3f1e

Please sign in to comment.