lonyee1989 commented on issue #3210: ON DUPLICATE KEY UPDATE support 
incompletely
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3210#issuecomment-540500827
 
 
   @zhegexiaohuozi  Please use following format.
   
   _ON DUPLICATE KEY UPDATE col_2 = col_2 + VALUES(col_2)_
   
   ```sql
   
   INSERT INTO table_a (id,col_1,col_2) VALUES(1,#{bean.val1}, #{bean.val2}) ON 
DUPLICATE KEY UPDATE col_2 = col_2 + VALUES(col_2)
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to