MCPcopy Index your code
hub / github.com/jackc/pgx / Index

Method Index

pgtype/array_codec.go:18–18  ·  view source on GitHub ↗

Index returns the element at i.

(i int)

Source from the content-addressed store, hash-verified

16
17 // Index returns the element at i.
18 Index(i int) any
19
20 // IndexType returns a non-nil scan target of the type Index will return. This is used by ArrayCodec.PlanEncode.
21 IndexType() any

Callers 11

dollarQuoteStateFunction · 0.65
EncodeMethod · 0.65
EncodeMethod · 0.65
isRaggedFunction · 0.65
IndexMethod · 0.65
ScanIndexMethod · 0.65
IndexMethod · 0.65
ScanIndexMethod · 0.65
IndexMethod · 0.65
ScanIndexMethod · 0.65

Implementers 3

anySliceArrayReflectpgtype/builtin_wrappers.go
anyMultiDimSliceArraypgtype/builtin_wrappers.go
anyArrayArrayReflectpgtype/builtin_wrappers.go

Calls

no outgoing calls

Tested by

no test coverage detected