type github.com/jackc/pgx/v5/pgtype.Timestamp
35 uses
github.com/jackc/pgx/v5/pgtype (current package)
builtin_wrappers.go#L422: func (w *timeWrapper) ScanTimestamp(v Timestamp) error {
builtin_wrappers.go#L440: func (w timeWrapper) TimestampValue() (Timestamp, error) {
builtin_wrappers.go#L441: return Timestamp{Time: time.Time(w), Valid: true}, nil
pgtype_default.go#L243: registerDefaultPgTypeVariants[Timestamp](defaultMap, "timestamp")
pgtype_default.go#L245: registerDefaultPgTypeVariants[Range[Timestamp]](defaultMap, "tsrange")
pgtype_default.go#L246: registerDefaultPgTypeVariants[Multirange[Range[Timestamp]]](defaultMap, "tsmultirange")
timestamp.go#L18: ScanTimestamp(v Timestamp) error
timestamp.go#L22: TimestampValue() (Timestamp, error)
timestamp.go#L26: type Timestamp struct {
timestamp.go#L33: func (ts *Timestamp) ScanTimestamp(v Timestamp) error {
timestamp.go#L39: func (ts Timestamp) TimestampValue() (Timestamp, error) {
timestamp.go#L44: func (ts *Timestamp) Scan(src any) error {
timestamp.go#L46: *ts = Timestamp{}
timestamp.go#L54: *ts = Timestamp{Time: src, Valid: true}
timestamp.go#L62: func (ts Timestamp) Value() (driver.Value, error) {
timestamp.go#L74: func (ts Timestamp) MarshalJSON() ([]byte, error) {
timestamp.go#L94: func (ts *Timestamp) UnmarshalJSON(b []byte) error {
timestamp.go#L102: *ts = Timestamp{}
timestamp.go#L108: *ts = Timestamp{Valid: true, InfinityModifier: Infinity}
timestamp.go#L110: *ts = Timestamp{Valid: true, InfinityModifier: -Infinity}
timestamp.go#L117: *ts = Timestamp{Time: tim, Valid: true}
timestamp.go#L122: *ts = Timestamp{Time: tim, Valid: true}
timestamp.go#L245: return scanner.ScanTimestamp(Timestamp{})
timestamp.go#L253: var ts Timestamp
timestamp.go#L258: ts = Timestamp{Valid: true, InfinityModifier: Infinity}
timestamp.go#L260: ts = Timestamp{Valid: true, InfinityModifier: -Infinity}
timestamp.go#L272: ts = Timestamp{Time: tim, Valid: true}
timestamp.go#L284: return scanner.ScanTimestamp(Timestamp{})
timestamp.go#L292: var ts Timestamp
timestamp.go#L294: ts = Timestamp{Valid: true, InfinityModifier: dt.infinity}
timestamp.go#L311: ts = Timestamp{Time: tim, Valid: true}
timestamp.go#L322: var ts Timestamp
timestamp.go#L340: var ts Timestamp