Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trailingSemicolon option #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bentsherman
Copy link
Member

Close #16

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
README.md Outdated Show resolved Hide resolved
@pditommaso
Copy link
Member

I wonder if a semicolon is needed for a single SQL statement. May it can just be removed

Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@bentsherman
Copy link
Member Author

I know that MySQL expects it, because of how many times it complained to me in the mysql shell 😆

I would be fine with removing it or adding this option to disable it. Because we aim to support any SQL-like backend, we should not try to adjust the query to fit any particular syntax, or at least we should make the adjustment optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request to add optional argument to prevent appending semicolon to query statement
2 participants