cc.iliz.mybatis.shading.sqltable.UpdateSqlTableParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-sharding Show documentation
Show all versions of mybatis-sharding Show documentation
A sharding based on mybatis
package cc.iliz.mybatis.shading.sqltable;
import java.util.regex.Pattern;
public class UpdateSqlTableParser extends BaseSqlTableParser {
@Override
public Pattern getRegPattern() {
return Pattern.compile("update\\s+(\\w+)",Pattern.CASE_INSENSITIVE);
}
}