MCPcopy
hub / github.com/sqldef/sqldef / TableLookupFunc

FuncType TableLookupFunc

schema/normalize.go:1394–1394  ·  view source on GitHub ↗

TableLookupFunc is a function type for looking up a table by name. Used by normalizeViewDefinition to expand SELECT * expressions.

func(name QualifiedName) *Table

Source from the content-addressed store, hash-verified

1392// TableLookupFunc is a function type for looking up a table by name.
1393// Used by normalizeViewDefinition to expand SELECT * expressions.
1394type TableLookupFunc func(name QualifiedName) *Table
1395
1396// normalizeViewDefinition normalizes a view definition AST for comparison.
1397// This function removes database-specific formatting differences that don't affect the logical meaning.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected