fix(grfn/bbbg): Fix honeysql syntax for upsert
Change-Id: I49eb046a1897794442c748e81560de76684eda01 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4669 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
4bbadfb930
commit
8158edbafa
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@
|
||||||
(db/process-key-map :attendee)
|
(db/process-key-map :attendee)
|
||||||
(u/map-keys keyword))
|
(u/map-keys keyword))
|
||||||
attendees)
|
attendees)
|
||||||
:upsert [[:on-conflict [:meetup-user-id]]
|
:upsert {:on-conflict [:meetup-user-id]
|
||||||
[:do-update-set [:meetup-name]]]
|
:do-update-set [:meetup-name]}
|
||||||
:returning [:id :meetup-user-id]}))
|
:returning [:id :meetup-user-id]}))
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
|
|
Loading…
Reference in a new issue