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

Function makeSchema

backend/api/mcp/tool_schema_test.go:26–31  ·  view source on GitHub ↗
(name string, tables ...map[string]any)

Source from the content-addressed store, hash-verified

24}
25
26func makeSchema(name string, tables ...map[string]any) map[string]any {
27 return map[string]any{
28 "name": name,
29 "tables": tables,
30 }
31}
32
33func makeSchemaWithViews(name string, views []string, tables ...map[string]any) map[string]any {
34 viewList := make([]map[string]any, 0, len(views))

Calls

no outgoing calls

Tested by

no test coverage detected