Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Files

Latest commit

d726b49 · May 8, 2022

History

History
39 lines (30 loc) · 517 Bytes

newlineBeforeOpenParen.md

File metadata and controls

39 lines (30 loc) · 517 Bytes

newlineBeforeOpenParen

Decides whether to place open-parenthesis ( of sub-queries on a separate line.

Options

  • true (default) adds newline before open-parenthesis.
  • false no newline.

Caveats:

This option is ignored when indentStyle: "tabularLeft" or "tabularRight" is used.

newlineBeforeOpenParen: true

SELECT
  *
FROM
  (
    SELECT
      *
    FROM
      my_table
  );

newlineBeforeOpenParen: false

SELECT
  *
FROM (
    SELECT
      *
    FROM
      my_table
  );