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

Function oracleWhereSuffix

backend/plugin/parser/plsql/backup.go:346–352  ·  view source on GitHub ↗
(sql string, start int, where oracleast.ExprNode)

Source from the content-addressed store, hash-verified

344}
345
346func oracleWhereSuffix(sql string, start int, where oracleast.ExprNode) string {
347 loc, ok := oracleNodeLoc(where)
348 if !ok {
349 return ""
350 }
351 return oracleDMLTrailingText(sql, start, loc.End)
352}
353
354func oracleNodeLoc(node oracleast.Node) (oracleast.Loc, bool) {
355 if node == nil {

Callers 1

writeSuffixSelectClauseFunction · 0.85

Calls 2

oracleNodeLocFunction · 0.85
oracleDMLTrailingTextFunction · 0.85

Tested by

no test coverage detected