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

Function format

pkg/transform/where_test.go:36–38  ·  view source on GitHub ↗
(stmt ast.Statement)

Source from the content-addressed store, hash-verified

34}
35
36func format(stmt ast.Statement) string {
37 return FormatSQL(stmt)
38}
39
40func assertContains(t *testing.T, got, want string) {
41 t.Helper()

Callers 15

TestAddColumnFunction · 0.70
TestRemoveColumnFunction · 0.70
TestReplaceColumnFunction · 0.70
TestAddSelectStarFunction · 0.70
TestRemoveWhereFunction · 0.70
TestReplaceWhereFunction · 0.70

Calls 1

FormatSQLFunction · 0.85

Tested by

no test coverage detected