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

Method SlicePair

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

Source from the content-addressed store, hash-verified

77}
78
79func (v QueryValue) SlicePair() string {
80 if v.isEmpty() {
81 return ""
82 }
83 return v.Name + " []" + v.DefineType()
84}
85
86func (v QueryValue) Type() string {
87 if v.Typ != "" {

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.95
DefineTypeMethod · 0.95

Tested by

no test coverage detected