-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
Couple things...
This also matches the exact query language format for SQLite which I think should be preserved.
|
I actually think it might be acceptable to leave the
|
@alexfu, thanks for your feedback. I will make the changes tonight. |
@alexfu, I just made the changes and pushed. Please have a look. |
@alexfu, actually should I remove |
|
||
@Override | ||
public String build() { | ||
return StringUtils.join(" ", "DROP", type, (ifExists ? "IF EXISTS" : ""), name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will create an extra space if ifExists
is false
between the type
and name
.
You are up early, mate. |
@shadeven looks good. I'll go ahead and merge. |
@alexfu, please review the pull request. This adds a new feature to support
DROP TABLE
statement with optionalIF EXISTS
.