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

Function extractTableRefs

backend/plugin/parser/tidb/resource_change.go:331–336  ·  view source on GitHub ↗
(n *tidbast.TableRefsClause)

Source from the content-addressed store, hash-verified

329}
330
331func extractTableRefs(n *tidbast.TableRefsClause) ([]table, error) {
332 if n == nil {
333 return nil, nil
334 }
335 return extractJoin(n.TableRefs)
336}
337
338func extractJoin(n *tidbast.Join) ([]table, error) {
339 if n == nil {

Callers 1

getResourceChangesFunction · 0.85

Calls 1

extractJoinFunction · 0.85

Tested by

no test coverage detected