MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / decreaseIndent

Method decreaseIndent

cmd/gosqlx/cmd/sql_formatter.go:1120–1124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1118}
1119
1120func (f *SQLFormatter) decreaseIndent() {
1121 if f.newlineLevel > 0 {
1122 f.newlineLevel--
1123 }
1124}
1125
1126func (f *SQLFormatter) currentIndent() string {
1127 if f.compact {

Callers 8

formatSelectMethod · 0.95
formatCreateTableMethod · 0.95
formatAlterTableMethod · 0.95
formatAlterStatementMethod · 0.95
formatWithClauseMethod · 0.95
formatCreateViewMethod · 0.95
formatMergeWhenClauseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected