You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/10/10 10:13:01 UTC

[GitHub] [incubator-shardingsphere] lonyee1989 commented on issue #3210: ON DUPLICATE KEY UPDATE support incompletely

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:
users@infra.apache.org


With regards,
Apache Git Services