sqlparse icon indicating copy to clipboard operation
sqlparse copied to clipboard

Capitalization formatting is correct when keyword is used without parentheses, incorrect only when used with parentheses.

Open pradipsparkale opened this issue 4 years ago • 1 comments

Capitalization formatting is correct when keyword is used without parentheses, incorrect only when used with parentheses.

Ex: SELECT COUNT column_x FROM table_a; is formatted correctly, but SELECT count(column_x) FROM table_a; is formatted incorrectly.

pradipsparkale avatar May 08 '22 02:05 pradipsparkale

With parentheses it's a function and not a keyword anymore.

andialbrecht avatar Aug 24 '22 20:08 andialbrecht