improved sql parser.

This commit is contained in:
wenshao
2017-09-12 11:15:41 +08:00
parent 7278cd3e94
commit 41be4b5b51
11 changed files with 594 additions and 65 deletions
@@ -298,4 +298,12 @@ public final class SQLPropertyExpr extends SQLExprImpl implements SQLName {
return this;
}
public String toString() {
if (owner == null) {
return this.name;
}
return owner.toString() + '.' + name;
}
}
@@ -403,4 +403,8 @@ public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElemen
return false;
}
public String toString() {
return SQLUtils.toSQLString(this, dbType);
}
}