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

Method Pair

internal/codegen/golang/query.go:47–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (v QueryValue) Pair() string {
48 var out []string
49 for _, arg := range v.Pairs() {
50 out = append(out, arg.Name+" "+arg.Type)
51 }
52 return strings.Join(out, ",")
53}
54
55// Return the argument name and type for query methods. Should only be used in
56// the context of method arguments.

Callers

nothing calls this directly

Calls 2

PairsMethod · 0.95
JoinMethod · 0.45

Tested by

no test coverage detected