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

Function oracleDMLTrailingText

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

Source from the content-addressed store, hash-verified

320}
321
322func oracleDMLTrailingText(sql string, start, end int) string {
323 text := strings.TrimSpace(oracleLocText(sql, start, end))
324 return strings.TrimSpace(strings.TrimSuffix(text, ";"))
325}
326
327func oracleListText(sql string, list *oracleast.List) (string, int, bool) {
328 if list == nil || list.Len() == 0 {

Callers 1

oracleWhereSuffixFunction · 0.85

Calls 1

oracleLocTextFunction · 0.85

Tested by

no test coverage detected