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

Method convertTableName

internal/engine/dolphin/convert.go:1492–1499  ·  view source on GitHub ↗
(n *pcast.TableName)

Source from the content-addressed store, hash-verified

1490}
1491
1492func (c *cc) convertTableName(n *pcast.TableName) *ast.RangeVar {
1493 schema := identifier(n.Schema.String())
1494 rel := identifier(n.Name.String())
1495 return &ast.RangeVar{
1496 Schemaname: &schema,
1497 Relname: &rel,
1498 }
1499}
1500
1501func (c *cc) convertTableNameExpr(n *pcast.TableNameExpr) ast.Node {
1502 return todo(n)

Callers 3

convertCreateViewStmtMethod · 0.95
convertTableSourceMethod · 0.95
convertMethod · 0.95

Calls 2

identifierFunction · 0.70
StringMethod · 0.45

Tested by

no test coverage detected