MCPcopy Create free account
hub / github.com/bytebase/bytebase / joinStatementTexts

Function joinStatementTexts

backend/plugin/parser/tsql/completion.go:1720–1726  ·  view source on GitHub ↗
(list []base.Statement)

Source from the content-addressed store, hash-verified

1718}
1719
1720func joinStatementTexts(list []base.Statement) string {
1721 parts := make([]string, 0, len(list))
1722 for _, statement := range list {
1723 parts = append(parts, statement.Text)
1724 }
1725 return strings.Join(parts, "")
1726}
1727
1728func hasMultipleNonEmptyStatements(statements []base.Statement) bool {
1729 seenNonEmpty := false

Callers 1

skipHeadingSQLsFunction · 0.85

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected