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

Function oracleLocText

backend/plugin/parser/plsql/backup.go:377–388  ·  view source on GitHub ↗
(sql string, start, end int)

Source from the content-addressed store, hash-verified

375}
376
377func oracleLocText(sql string, start, end int) string {
378 if start < 0 {
379 start = 0
380 }
381 if end <= 0 || end > len(sql) {
382 end = len(sql)
383 }
384 if start >= end || start >= len(sql) {
385 return ""
386 }
387 return sql[start:end]
388}
389
390func joinOracleSuffix(parts ...string) string {
391 var nonEmpty []string

Callers 4

oracleDMLTargetTextFunction · 0.85
oracleDMLTrailingTextFunction · 0.85
oracleListTextFunction · 0.85
extractOmniStatementTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected