We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4e0a6 commit dcf281bCopy full SHA for dcf281b
README.md
@@ -86,7 +86,7 @@ The query creation and usage is exactly the same as honeysql.
86
(-> (insert-into :distributors)
87
(values [{:did 23 :dname "Foo Distributors"}])
88
(psqlh/on-conflict :did)
89
- (psqlh/do-update-set! [:dname "EXCLUDED.dname || ' (formerly ' || d.dname || ')'"])
+ (psqlh/do-update-set! [:dname "EXCLUDED.dname || ' (formerly ' || distributors.dname || ')'"])
90
sql/format)
91
=> ["INSERT INTO distributors (did, dname) VALUES (23, ?) ON CONFLICT (did) DO UPDATE SET dname = ?" "Foo Distributors" "EXCLUDED.dname || ' (formerly ' || d.dname || ')'"]
92
```
0 commit comments