MCPcopy
hub / github.com/jackc/pgx / CompositeIndexGetter

Interface CompositeIndexGetter

pgtype/composite.go:14–20  ·  pgtype/composite.go::CompositeIndexGetter

CompositeIndexGetter is a type accessed by index that can be converted into a PostgreSQL composite.

Source from the content-addressed store, hash-verified

12
13// CompositeIndexGetter is a type accessed by index that can be converted into a PostgreSQL composite.
14type CompositeIndexGetter interface {
15 // IsNull returns true if the value is SQL NULL.
16 IsNull() bool
17
18 // Index returns the element at i.
19 Index(i int) any
20}
21
22// CompositeIndexScanner is a type accessed by index that can be scanned from a PostgreSQL composite.
23type CompositeIndexScanner interface {

Callers 4

EncodeMethod · 0.65
EncodeMethod · 0.65
EncodeMethod · 0.65
EncodeMethod · 0.65

Implementers 5

point3dpgtype/composite_test.go
parentpgtype/composite_test.go
parentWithSlicepgtype/composite_test.go
compositeWithJsonbValuerpgtype/composite_test.go
structWrapperpgtype/builtin_wrappers.go

Calls

no outgoing calls

Tested by

no test coverage detected