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

Method currentIndent

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

Source from the content-addressed store, hash-verified

1124}
1125
1126func (f *SQLFormatter) currentIndent() string {
1127 if f.compact {
1128 return ""
1129 }
1130 return strings.Repeat(f.indent, f.newlineLevel)
1131}
1132
1133// formatDrop formats DROP statements
1134func (f *SQLFormatter) formatDrop(stmt *ast.DropStatement) error {

Callers 6

formatSelectMethod · 0.95
formatCreateTableMethod · 0.95
formatAlterTableMethod · 0.95
formatAlterStatementMethod · 0.95
formatMergeWhenClauseMethod · 0.95
formatMergeActionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected