Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ trimStatement
Function
trimStatement
backend/plugin/parser/tsql/resource_change.go:194–196 ·
view source on GitHub ↗
(statement string)
Source
from the content-addressed store, hash-verified
192
}
193
194
func
trimStatement(statement string) string {
195
return
strings.TrimLeftFunc(strings.TrimRightFunc(statement, utils.IsSpaceOrSemicolon), unicode.IsSpace) +
";"
196
}
Callers
1
extractChangedResources
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected