Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 353 Bytes

remove_redundant_nest.md

File metadata and controls

40 lines (32 loc) · 353 Bytes

OptionName

Remove redundant parentheses.

Options

  • true (default): Remove redundant parentheses.
  • false : Preserve redundant parentheses.

Example

before:

SELECT
	A
FROM
	B
WHERE
	(((1	=	1)))
AND	(
		((A	=	B))
	OR	(A)			=	(((42)))
	)

result:

SELECT
	A
FROM
	B
WHERE
	(1	=	1)
AND	(
		(A	=	B)
	OR	(A)			=	(42)
	)