Skip to content
# Type Alias: WithClauseStyle

WithClauseStyle = "standard" | "cte-oneline" | "full-oneline"

Defined in: packages/core/src/transformers/SqlFormatter.ts:17

WithClauseStyle determines how WITH clauses are formatted.

  • 'standard': Normal formatting with proper indentation
  • 'cte-oneline': Individual CTEs are formatted as one-liners
  • 'full-oneline': Entire WITH clause is formatted as one line

Released under the MIT License.