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

Method IsPointer

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

Source from the content-addressed store, hash-verified

32}
33
34func (v QueryValue) IsPointer() bool {
35 return v.EmitPointer && v.Struct != nil
36}
37
38func (v QueryValue) isEmpty() bool {
39 return v.Typ == "" && v.Name == "" && v.Struct == nil

Callers 2

DefineTypeMethod · 0.95
ReturnNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected