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

Function shouldSkipLimit

backend/plugin/db/oracle/query.go:174–177  ·  view source on GitHub ↗

shouldSkipLimit checks if the statement needs a limit clause

(stmt string)

Source from the content-addressed store, hash-verified

172
173// shouldSkipLimit checks if the statement needs a limit clause
174func shouldSkipLimit(stmt string) bool {
175 ok, err := skipAddLimit(stmt)
176 return err == nil && ok
177}
178
179// isOracle11gOrEarlier checks if the Oracle version is 11g or earlier
180func isOracle11gOrEarlier(engineVersion string) bool {

Callers 1

addResultLimitFunction · 0.85

Calls 1

skipAddLimitFunction · 0.85

Tested by

no test coverage detected