Visitar URL original
feat: 支持 KingbaseES MySQL、Oracle、SQL Server 三种兼容模式 by fuziran · Pull Request #868 · APIJSON/APIJSON · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: 修改AbstractSQLConfig正则适配Kingbase-sqlServer
  • Loading branch information
fuziran authored and xiaoaozz committed Jul 28, 2026
commit 2d43cf9cc0677c3a3be2eb94bcf6c58c6a807d34
Original file line number Diff line number Diff line change
Expand Up @@ -4329,7 +4329,7 @@ public String gainRegExpString(String key, String column, Object[] values, int t
* @return key REGEXP 'value'
*/
public String gainRegExpString(String key, String column, String value, boolean ignoreCase) {
if (isPSQL()) {
if (isPSQL() || isKingBaseSQLServer()) {
return gainKey(column) + " ~" + (ignoreCase ? "* " : " ") + gainValue(key, column, value);
}
if (isOracle() || isDameng() || isKingBaseOracle() || isKingBaseMySQL() || (isMySQL() && gainDBVersionNums()[0] >= 8)) {
Expand Down