Skip to content

[FORMATTING] linesBetweenQueries not working when queries not separated by semi-colon #847

@fakedestinyck

Description

@fakedestinyck

Input data

Which SQL and options did you provide as input?

SELECT 1 FROM T1 SELECT 2 FROM T2

linesBetweenQueries: 2

Expected Output

SELECT
  1
FROM
  T1


SELECT
  2
FROM
  T2

Actual Output

SELECT
  1
FROM
  T1
SELECT
  2
FROM
  T2

Usage

  • How are you calling / using the library? I'm using the online js
  • What SQL language(s) does this apply to? TSQL
  • Which SQL Formatter version are you using? Online

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions