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

Function hasStarRef

internal/compiler/output_columns.go:41–48  ·  view source on GitHub ↗
(cf *ast.ColumnRef)

Source from the content-addressed store, hash-verified

39}
40
41func hasStarRef(cf *ast.ColumnRef) bool {
42 for _, item := range cf.Fields.Items {
43 if _, ok := item.(*ast.A_Star); ok {
44 return true
45 }
46 }
47 return false
48}
49
50// Compute the output columns for a statement.
51//

Callers 2

outputColumnsMethod · 0.85
expandStmtMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected