Skip to content

Commit 013441a

Browse files
committed
去掉 ManticoreSearch 不支持的 SQL 关键词 AS
1 parent de742e7 commit 013441a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ public AbstractSQLConfig<T> setTable(String table) { //Table已经在Parser中
14941494
}
14951495

14961496
public String getAs() {
1497-
return isOracle() ? " " : " AS ";
1497+
return isOracle() || isManticore() ? " " : " AS ";
14981498
}
14991499

15001500
@Override

0 commit comments

Comments
 (0)