MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / TestPutFunctionCall

Function TestPutFunctionCall

pkg/sql/ast/pool_coverage_test.go:21–28  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19)
20
21func TestPutFunctionCall(t *testing.T) {
22 fc := GetFunctionCall()
23 fc.Name = "count"
24 fc.Arguments = append(fc.Arguments, &Identifier{Name: "x"})
25 fc.Distinct = true
26 PutFunctionCall(fc)
27 PutFunctionCall(nil) // nil safety
28}
29
30func TestPutCaseExpression(t *testing.T) {
31 ce := GetCaseExpression()

Callers

nothing calls this directly

Calls 2

GetFunctionCallFunction · 0.85
PutFunctionCallFunction · 0.85

Tested by

no test coverage detected