corgy-w opened a new issue, #31012:
URL: https://github.com/apache/shardingsphere/issues/31012

   Does sharding support updatebatch now
   
   ex:
   `   xml
    <update id="batchUpdateByPrimaryKeySelective" 
parameterType="java.util.List">
           <foreach collection="list" item="item" separator=";">
               UPDATE users SET
               tenant_id = #{item.tenantId},
               phone = #{item.phone},
               phone_cipher = #{item.phoneCipher},
               email = #{item.email},
               email_cipher = #{item.emailCipher},
               ssn = #{item.ssn},
               ssn_cipher = #{item.ssnCipher},
               is_deleted = 'N',
               creator = 'seatunnel',
               modifier = 'seatunnel',
               gmt_created = #{item.gmtCreated},
               gmt_modified = #{item.gmtModified}
               WHERE tenant_id = #{item.tenantId} AND id = #{item.id}
           </foreach>
       </update>
   `


-- 
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.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to