Skip to content

Comments are not handled correctly #37

Description

@aymen-k

Hello David 馃憢

I just noticed that comments are not handled correctly when formatting the SQL queries.
For example

SELECT * FROM table_a
WHERE user_name="john doe"
/* just a comment */
ORDER BY user_id

is transformed into

SELECT *
FROM table_a
WHERE user_name="john doe" / *

PS: Thanks for the tool!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions