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

Method DefineType

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

Source from the content-addressed store, hash-verified

94}
95
96func (v *QueryValue) DefineType() string {
97 t := v.Type()
98 if v.IsPointer() {
99 return "*" + t
100 }
101 return t
102}
103
104func (v *QueryValue) ReturnName() string {
105 if v.IsPointer() {

Callers 2

PairsMethod · 0.95
SlicePairMethod · 0.95

Calls 2

TypeMethod · 0.95
IsPointerMethod · 0.95

Tested by

no test coverage detected