Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 485 Bytes

File metadata and controls

38 lines (31 loc) · 485 Bytes

commaNewline

Decides newline placement before or after commas seperating columns/tables.

Options

  • "after" (default) adds newline after the comma.
  • "before" adds newline before the comma with a following space.

after

SELECT
  name,
  age,
  height
FROM
  persons
WHERE
  age > 10
  AND height < 150
  OR occupation IS NULL

before

SELECT
  name
  , age
  , height
FROM
  persons
WHERE
  age > 10 AND
  height < 150 OR
  occupation IS NULL