(node ast.Node)
| 34 | } |
| 35 | |
| 36 | func isNamedParamSignCast(node ast.Node) bool { |
| 37 | expr, ok := node.(*ast.A_Expr) |
| 38 | if !ok { |
| 39 | return false |
| 40 | } |
| 41 | _, cast := expr.Rexpr.(*ast.TypeCast) |
| 42 | return astutils.Join(expr.Name, ".") == "@" && cast |
| 43 | } |
| 44 | |
| 45 | // paramFromFuncCall creates a param from sqlc.n?arg() calls return the |
| 46 | // parameter and whether the parameter name was specified a best guess as its |
no test coverage detected