type github.com/jackc/pgx/v5/pgtype.IntervalCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
interval.go#L68: buf, err := IntervalCodec{}.PlanEncode(nil, 0, TextFormatCode, interval).Encode(interval, nil)
interval.go#L75: type IntervalCodec struct{}
interval.go#L77: func (IntervalCodec) FormatSupported(format int16) bool {
interval.go#L81: func (IntervalCodec) PreferredFormat() int16 {
interval.go#L85: func (IntervalCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
interval.go#L161: func (IntervalCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
interval.go#L285: func (c IntervalCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
interval.go#L289: func (c IntervalCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype_default.go#L67: defaultMap.RegisterType(&Type{Name: "interval", OID: IntervalOID, Codec: IntervalCodec{}})