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

Support comments after join keyword #96

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

lemonadern
Copy link
Collaborator

Fix #54

概要

JOINキーワードの後に現れるコメントをサポートしました

フォーマット前:

select
    *
from
    t1
inner join -- after keyword
-- another comment 
    t2
on t1.num = t2.num

フォーマット後:

select
	*
from
	t1
inner join
-- after keyword
-- another comment 
	t2
on
	t1.num	=	t2.num
;

@tanzaku tanzaku merged commit 8535b10 into main Sep 5, 2024
8 checks passed
@tanzaku tanzaku deleted the comments-after-join-keyword branch September 5, 2024 09:50
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.

Support comment after JOIN keyword
2 participants