MCPcopy
hub / github.com/sqlc-dev/sqlc / convertSubqueryExpr

Method convertSubqueryExpr

internal/engine/dolphin/convert.go:589–595  ·  view source on GitHub ↗
(n *pcast.SubqueryExpr)

Source from the content-addressed store, hash-verified

587}
588
589func (c *cc) convertSubqueryExpr(n *pcast.SubqueryExpr) ast.Node {
590 // Wrap subquery in SubLink to ensure parentheses are added
591 return &ast.SubLink{
592 SubLinkType: ast.EXPR_SUBLINK,
593 Subselect: c.convert(n.Query),
594 }
595}
596
597func (c *cc) convertTableRefsClause(n *pcast.TableRefsClause) *ast.List {
598 if n == nil {

Callers 1

convertMethod · 0.95

Calls 1

convertMethod · 0.95

Tested by

no test coverage detected