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

Function makeColumnWithDefault

backend/api/mcp/tool_schema_test.go:65–70  ·  view source on GitHub ↗
(name, typ, defaultVal, comment string)

Source from the content-addressed store, hash-verified

63}
64
65func makeColumnWithDefault(name, typ, defaultVal, comment string) map[string]any {
66 c := makeColumn(name, typ, false)
67 c["default"] = defaultVal
68 c["comment"] = comment
69 return c
70}
71
72func makePrimaryKeyIndex(name string, columns []string) map[string]any {
73 return map[string]any{

Callers 2

Calls 1

makeColumnFunction · 0.70

Tested by

no test coverage detected