mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -24,12 +24,10 @@ import com.alibaba.druid.sql.ast.SQLObjectImpl;
|
||||
import com.alibaba.druid.sql.ast.statement.SQLInsertStatement.ValuesClause;
|
||||
|
||||
public abstract class SQLInsertInto extends SQLObjectImpl {
|
||||
|
||||
protected SQLExprTableSource tableSource;
|
||||
|
||||
protected final List<SQLExpr> columns = new ArrayList<SQLExpr>();
|
||||
protected SQLSelect query;
|
||||
|
||||
protected SQLExprTableSource tableSource;
|
||||
protected final List<SQLExpr> columns = new ArrayList<SQLExpr>();
|
||||
protected transient String columnsString;
|
||||
protected SQLSelect query;
|
||||
protected final List<ValuesClause> valuesList = new ArrayList<ValuesClause>();
|
||||
|
||||
public SQLInsertInto(){
|
||||
@@ -139,4 +137,12 @@ public abstract class SQLInsertInto extends SQLObjectImpl {
|
||||
}
|
||||
valuesList.add(valueClause);
|
||||
}
|
||||
|
||||
public String getColumnsString() {
|
||||
return columnsString;
|
||||
}
|
||||
|
||||
public void setColumnsString(String columnsString) {
|
||||
this.columnsString = columnsString;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user