Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

update item if id exists mysql

INSERT INTO tableName(id, NAME, score)
VALUES(1, "Fadl", 285)
ON DUPLICATE KEY
UPDATE NAME = "Fadl", score = 285
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #item #id #exists #mysql
ADD COMMENT
Topic
Name
8+1 =