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

Method convertFieldList

internal/engine/dolphin/convert.go:411–417  ·  view source on GitHub ↗
(n *pcast.FieldList)

Source from the content-addressed store, hash-verified

409}
410
411func (c *cc) convertFieldList(n *pcast.FieldList) *ast.List {
412 fields := make([]ast.Node, len(n.Fields))
413 for i := range n.Fields {
414 fields[i] = c.convertSelectField(n.Fields[i])
415 }
416 return &ast.List{Items: fields}
417}
418
419func (c *cc) convertFuncCallExpr(n *pcast.FuncCallExpr) ast.Node {
420 schema := n.Schema.String()

Callers 2

convertSelectStmtMethod · 0.95
convertMethod · 0.95

Calls 1

convertSelectFieldMethod · 0.95

Tested by

no test coverage detected