type github.com/jackc/pgx/v5/pgtype.IntervalCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
interval.go#L67: buf, err := IntervalCodec{}.PlanEncode(nil, 0, TextFormatCode, interval).Encode(interval, nil)
interval.go#L74: type IntervalCodec struct{}
interval.go#L76: func (IntervalCodec) FormatSupported(format int16) bool {
interval.go#L80: func (IntervalCodec) PreferredFormat() int16 {
interval.go#L84: func (IntervalCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
interval.go#L160: func (IntervalCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
interval.go#L282: func (c IntervalCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
interval.go#L286: 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{}})