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

SELECT式で IS NULL で真偽値を返したい場合 #15

Open
ma91n opened this issue Sep 14, 2022 · 0 comments
Open

SELECT式で IS NULL で真偽値を返したい場合 #15

ma91n opened this issue Sep 14, 2022 · 0 comments

Comments

@ma91n
Copy link
Contributor

ma91n commented Sep 14, 2022

Version

$ usqlfmt -v
usqlfmt 0.1.4

As Is

SELECT
	premium_user_cd	IS
	NULL::bool	no_premium	-- プレミアム無
,	tel	IS
	NULL::bool	no_tel	-- 連絡先無し
,	user_name
FROM
	users
;

Want to be

SELECT
	premium_user_cd	IS	NULL::bool	no_premium	-- プレミアム無
,	tel		IS	NULL::bool	no_tel		-- 連絡先無し
,	user_name
FROM
	users
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant