mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
refactor: 修改 DialectFactory.createDialect
把 关于 DUCKDB 的判断合并到了PG 那一块 Signed-off-by: young <18860957075@163.com>
This commit is contained in:
parent
fb0660edc1
commit
05e698af97
@ -130,6 +130,7 @@ public class DialectFactory {
|
||||
case OPENGAUSS:
|
||||
case UXDB:
|
||||
case LEALONE:
|
||||
case DUCKDB:
|
||||
return new CommonsDialectImpl(KeywordWrap.DOUBLE_QUOTATION, LimitOffsetProcessor.POSTGRESQL);
|
||||
case TDENGINE:
|
||||
return new CommonsDialectImpl(KeywordWrap.BACK_QUOTE, LimitOffsetProcessor.POSTGRESQL);
|
||||
@ -152,8 +153,6 @@ public class DialectFactory {
|
||||
return new CommonsDialectImpl(KeywordWrap.DOUBLE_QUOTATION, LimitOffsetProcessor.SYBASE);
|
||||
case TRINO:
|
||||
return new CommonsDialectImpl(KeywordWrap.NONE, LimitOffsetProcessor.SQLSERVER);
|
||||
case DUCKDB:
|
||||
return new CommonsDialectImpl(KeywordWrap.DOUBLE_QUOTATION, LimitOffsetProcessor.POSTGRESQL);
|
||||
default:
|
||||
return new CommonsDialectImpl();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user