type github.com/jackc/pgx/v5/pgtype.BoxCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
box.go#L59: buf, err := BoxCodec{}.PlanEncode(nil, 0, TextFormatCode, src).Encode(src, nil)
box.go#L66: type BoxCodec struct{}
box.go#L68: func (BoxCodec) FormatSupported(format int16) bool {
box.go#L72: func (BoxCodec) PreferredFormat() int16 {
box.go#L76: func (BoxCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
box.go#L131: func (BoxCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
box.go#L224: func (c BoxCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
box.go#L228: func (c BoxCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype_default.go#L53: defaultMap.RegisterType(&Type{Name: "box", OID: BoxOID, Codec: BoxCodec{}})