mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
1.1.5-SNAPSHOT
This commit is contained in:
@@ -574,6 +574,15 @@ public class SQLSelectQueryBlock extends SQLObjectImpl implements SQLSelectQuery
|
||||
return from.findColumn(hash);
|
||||
}
|
||||
|
||||
public void addCondition(String conditionSql) {
|
||||
if (conditionSql == null || conditionSql.length() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
SQLExpr condition = SQLUtils.toSQLExpr(conditionSql, dbType);
|
||||
addCondition(condition);
|
||||
}
|
||||
|
||||
public void addCondition(SQLExpr expr) {
|
||||
if (expr == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user