Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
func
format(stmt ast.Statement) string {
37
return
FormatSQL(stmt)
38
}
39
40
func
assertContains(t *testing.T, got, want string) {
41
t.Helper()
Callers
15
TestAddColumn
Function · 0.70
TestRemoveColumn
Function · 0.70
TestReplaceColumn
Function · 0.70
TestAddSelectStar
Function · 0.70
TestRemoveColumn_SingleColumn
Function · 0.70
TestAddWhere_NewCondition
Function · 0.70
TestAddWhere_ExistingCondition
Function · 0.70
TestAddWhere_UpdateStatement
Function · 0.70
TestAddWhere_DeleteStatement
Function · 0.70
TestRemoveWhere
Function · 0.70
TestReplaceWhere
Function · 0.70
TestAddWhere_DirectExpression
Function · 0.70
Calls
1
FormatSQL
Function · 0.85
Tested by
no test coverage detected