MCPcopy Index your code
hub / github.com/bytebase/bytebase / normalizeExtractedRestoreSQL

Function normalizeExtractedRestoreSQL

backend/plugin/parser/plsql/restore.go:391–393  ·  view source on GitHub ↗
(statement string)

Source from the content-addressed store, hash-verified

389}
390
391func normalizeExtractedRestoreSQL(statement string) string {
392 return strings.TrimSpace(strings.TrimSuffix(strings.TrimSpace(statement), ";"))
393}
394
395func equalOrLess(a, b *storepb.Position) bool {
396 if a.Line < b.Line {

Callers 1

extractSQLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected