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

Method IsStruct

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

Source from the content-addressed store, hash-verified

28}
29
30func (v QueryValue) IsStruct() bool {
31 return v.Struct != nil
32}
33
34func (v QueryValue) IsPointer() bool {
35 return v.EmitPointer && v.Struct != nil

Callers 4

PairsMethod · 0.95
VariableForFieldMethod · 0.95
filterUnusedStructsFunction · 0.80
queryImportsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected