mybatis mapper.xml中如何使用truncate语
2018-10-14 本文已影响0人
MrBan
先定义方法名,方法名作为id。比如如下例子中的truncateTable
就是一个方法名。
<update id="truncateTable">
truncate table [表名]
</update>
先定义方法名,方法名作为id。比如如下例子中的truncateTable
就是一个方法名。
<update id="truncateTable">
truncate table [表名]
</update>