type github.com/jackc/pgx/v5/pgtype.NumericCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
numeric.go#L232: buf, err := NumericCodec{}.PlanEncode(nil, 0, TextFormatCode, n).Encode(n, nil)
numeric.go#L307: type NumericCodec struct{}
numeric.go#L309: func (NumericCodec) FormatSupported(format int16) bool {
numeric.go#L313: func (NumericCodec) PreferredFormat() int16 {
numeric.go#L317: func (NumericCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
numeric.go#L568: func (NumericCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
numeric.go#L803: func (c NumericCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
numeric.go#L825: func (c NumericCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype_default.go#L76: defaultMap.RegisterType(&Type{Name: "numeric", OID: NumericOID, Codec: NumericCodec{}})