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

Method InArgs

internal/sql/catalog/func.go:29–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (f *Function) InArgs() []*Argument {
30 var args []*Argument
31 for _, a := range f.Args {
32 switch a.Mode {
33 case ast.FuncParamTable, ast.FuncParamOut:
34 continue
35 default:
36 args = append(args, a)
37 }
38 }
39 return args
40}
41
42func (f *Function) OutArgs() []*Argument {
43 var args []*Argument

Callers 2

getFuncMethod · 0.80
ResolveFuncCallMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected