Join Slack
Communities
Powered by
For SQLDelight with the MySQL dialect - is there a...
# squarelibraries
s
spierce7
02/01/2022, 8:25 PM
For SQLDelight with the MySQL dialect - is there any way to insert or update? i.e. it doesn’t seem like replace is supported. Am I missing something maybe?
a
alec
02/01/2022, 8:29 PM
ON DUPLICATE
is supported
https://github.com/AlecStrong/sql-psi/blob/6cd4ef051e3f58f401eb54d2a89069640af67c82/core/src/test/fixtures_mysql/insert-on-duplicate-key/Test.s
s
spierce7
02/01/2022, 11:50 PM
thank you.
ON DUPLICATE
isn’t as convenient, but it works for now
5
Views
Open in Slack
Previous
Next