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

Function makeColumn

backend/api/mcp/tool_schema_test.go:57–63  ·  view source on GitHub ↗
(name, typ string, nullable bool)

Source from the content-addressed store, hash-verified

55}
56
57func makeColumn(name, typ string, nullable bool) map[string]any {
58 return map[string]any{
59 "name": name,
60 "type": typ,
61 "nullable": nullable,
62 }
63}
64
65func makeColumnWithDefault(name, typ, defaultVal, comment string) map[string]any {
66 c := makeColumn(name, typ, false)

Calls

no outgoing calls

Tested by

no test coverage detected