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

Method OutArgs

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

Source from the content-addressed store, hash-verified

40}
41
42func (f *Function) OutArgs() []*Argument {
43 var args []*Argument
44 for _, a := range f.Args {
45 switch a.Mode {
46 case ast.FuncParamOut:
47 args = append(args, a)
48 }
49 }
50 return args
51}
52
53func (c *Catalog) createFunction(stmt *ast.CreateFunctionStmt) error {
54 ns := stmt.Func.Schema

Callers 1

GetFuncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected