MCPcopy Create free account
hub / github.com/PostHog/duckgres / TestDQLValues

Function TestDQLValues

tests/integration/dql_test.go:413–420  ·  view source on GitHub ↗

TestDQLValues tests VALUES clause

(t *testing.T)

Source from the content-addressed store, hash-verified

411
412// TestDQLValues tests VALUES clause
413func TestDQLValues(t *testing.T) {
414 tests := []QueryTest{
415 {Name: "values_basic", Query: "VALUES (1, 'a'), (2, 'b'), (3, 'c')"},
416 {Name: "values_as_table", Query: "SELECT * FROM (VALUES (1, 'a'), (2, 'b')) AS t(id, name)"},
417 {Name: "values_in_cte", Query: "WITH data(id, val) AS (VALUES (1, 10), (2, 20)) SELECT * FROM data"},
418 }
419 runQueryTests(t, tests)
420}
421
422// TestDQLCaseSensitivity tests case sensitivity
423func TestDQLCaseSensitivity(t *testing.T) {

Callers

nothing calls this directly

Calls 1

runQueryTestsFunction · 0.85

Tested by

no test coverage detected