MCPcopy Create free account
hub / github.com/bytebase/bytebase / rightmostOracleSetSelect

Function rightmostOracleSetSelect

backend/plugin/db/oracle/query.go:271–276  ·  view source on GitHub ↗
(selectStmt *oracleast.SelectStmt)

Source from the content-addressed store, hash-verified

269}
270
271func rightmostOracleSetSelect(selectStmt *oracleast.SelectStmt) *oracleast.SelectStmt {
272 if selectStmt.Op != oracleast.SETOP_NONE && selectStmt.Rarg != nil {
273 return rightmostOracleSetSelect(selectStmt.Rarg)
274 }
275 return selectStmt
276}
277
278func rewriteOracleFetchClause(sql string, fetch *oracleast.FetchFirstClause, limitCount int) (string, error) {
279 if fetch.Count == nil {

Callers 1

rewriteOracleSelectFetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected