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

Function IsParamSign

internal/sql/named/is.go:23–26  ·  view source on GitHub ↗
(node ast.Node)

Source from the content-addressed store, hash-verified

21}
22
23func IsParamSign(node ast.Node) bool {
24 expr, ok := node.(*ast.A_Expr)
25 return ok && astutils.Join(expr.Name, ".") == "@"
26}

Callers 2

NamedParametersFunction · 0.92
validateCopyfromFunction · 0.92

Calls 1

JoinFunction · 0.92

Tested by

no test coverage detected