MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / GetTable

Method GetTable

internal/sql/catalog/public.go:126–133  ·  view source on GitHub ↗
(rel *ast.TableName)

Source from the content-addressed store, hash-verified

124}
125
126func (c *Catalog) GetTable(rel *ast.TableName) (Table, error) {
127 _, table, err := c.getTable(rel)
128 if table == nil {
129 return Table{}, err
130 } else {
131 return *table, err
132 }
133}

Callers 1

onConflictClauseFunction · 0.45

Calls 1

getTableMethod · 0.95

Tested by

no test coverage detected