Method
convertExistsSubqueryExpr
(n *pcast.ExistsSubqueryExpr)
Source from the content-addressed store, hash-verified
| 399 | } |
| 400 | |
| 401 | func (c *cc) convertExistsSubqueryExpr(n *pcast.ExistsSubqueryExpr) *ast.SubLink { |
| 402 | sublink := &ast.SubLink{ |
| 403 | SubLinkType: ast.EXISTS_SUBLINK, |
| 404 | } |
| 405 | if n.Sel != nil { |
| 406 | sublink.Subselect = c.convert(n.Sel) |
| 407 | } |
| 408 | return sublink |
| 409 | } |
| 410 | |
| 411 | func (c *cc) convertFieldList(n *pcast.FieldList) *ast.List { |
| 412 | fields := make([]ast.Node, len(n.Fields)) |
Tested by
no test coverage detected