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

Function makeIndex

backend/api/mcp/tool_schema_test.go:82–90  ·  view source on GitHub ↗
(name string, unique bool, columns []string)

Source from the content-addressed store, hash-verified

80}
81
82func makeIndex(name string, unique bool, columns []string) map[string]any {
83 return map[string]any{
84 "name": name,
85 "expressions": columns,
86 "type": "btree",
87 "unique": unique,
88 "primary": false,
89 }
90}
91
92// --- Request capture / metadata mock ---
93

Calls

no outgoing calls

Tested by

no test coverage detected