Skip to content

Comments are not handled correctly  #37

@aymen-k

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!

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