Open rjsaran opened 6 years ago
How can i create on duplicate update query with values like following ?
INSERT INTOpost(content,userId) VALUES ('test', 2) ON DUPLICATE KEY UPDATEpost.content= VALUES(post.content) '
INSERT INTO
(
,
) VALUES ('test', 2) ON DUPLICATE KEY UPDATE
.
= VALUES(
) '
How can i create on duplicate update query with values like following ?
INSERT INTO
post(
content,
userId) VALUES ('test', 2) ON DUPLICATE KEY UPDATE
post.
content= VALUES(
post.
content) '