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

Function TestGetStatementWithResultLimit

backend/plugin/db/oracle/query_test.go:17–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15)
16
17func TestGetStatementWithResultLimit(t *testing.T) {
18 runLimitTest(t, "test_limit.yaml", false /* record */)
19}
20
21func TestAddLimitFor12cAndLaterUsesOmni(t *testing.T) {
22 stmt := "SELECT emp_id, salary, ROW_NUMBER() OVER (ORDER BY salary DESC) AS rn FROM employees QUALIFY rn <= 10"

Callers

nothing calls this directly

Calls 1

runLimitTestFunction · 0.70

Tested by

no test coverage detected