mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
select/update/delete add method 'addCondition & removeCondition'. for issue #1865
This commit is contained in:
+5
@@ -25,6 +25,7 @@ import com.alibaba.druid.sql.dialect.postgresql.ast.PGSQLObject;
|
||||
import com.alibaba.druid.sql.dialect.postgresql.ast.PGSQLObjectImpl;
|
||||
import com.alibaba.druid.sql.dialect.postgresql.visitor.PGASTVisitor;
|
||||
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
import com.alibaba.druid.util.JdbcConstants;
|
||||
|
||||
public class PGSelectQueryBlock extends SQLSelectQueryBlock implements PGSQLObject{
|
||||
|
||||
@@ -40,6 +41,10 @@ public class PGSelectQueryBlock extends SQLSelectQueryBlock implements PGSQLObje
|
||||
TEMPORARY, TEMP, UNLOGGED
|
||||
}
|
||||
|
||||
public PGSelectQueryBlock() {
|
||||
dbType = JdbcConstants.POSTGRESQL;
|
||||
}
|
||||
|
||||
public IntoOption getIntoOption() {
|
||||
return intoOption;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user