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

Function extractTableSource

backend/plugin/parser/tidb/resource_change.go:354–359  ·  view source on GitHub ↗
(n *tidbast.TableSource)

Source from the content-addressed store, hash-verified

352}
353
354func extractTableSource(n *tidbast.TableSource) ([]table, error) {
355 if n == nil {
356 return nil, nil
357 }
358 return extractResultSetNode(n.Source)
359}
360
361func extractTableName(n *tidbast.TableName) ([]table, error) {
362 if n == nil {

Callers 1

extractResultSetNodeFunction · 0.85

Calls 1

extractResultSetNodeFunction · 0.85

Tested by

no test coverage detected