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

Function parseTableName

internal/engine/dolphin/utils.go:10–15  ·  view source on GitHub ↗
(n *pcast.TableName)

Source from the content-addressed store, hash-verified

8)
9
10func parseTableName(n *pcast.TableName) *ast.TableName {
11 return &ast.TableName{
12 Schema: identifier(n.Schema.String()),
13 Name: identifier(n.Name.String()),
14 }
15}
16
17func toList(node pcast.Node) *ast.List {
18 var items []ast.Node

Callers 4

convertAlterTableStmtMethod · 0.70
convertDropTableStmtMethod · 0.70

Calls 2

identifierFunction · 0.70
StringMethod · 0.45

Tested by

no test coverage detected