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

Function extractOmniStatementText

backend/plugin/parser/plsql/backup.go:400–402  ·  view source on GitHub ↗
(sql string, loc oracleast.Loc)

Source from the content-addressed store, hash-verified

398}
399
400func extractOmniStatementText(sql string, loc oracleast.Loc) string {
401 return strings.TrimSpace(strings.TrimSuffix(oracleLocText(sql, loc.Start, loc.End), ";"))
402}
403
404func zeroBasedColumnPosition(pos *store.Position) *store.Position {
405 if pos == nil {

Callers 1

extractOmniDMLFunction · 0.85

Calls 1

oracleLocTextFunction · 0.85

Tested by

no test coverage detected