MCPcopy
hub / github.com/jackc/pgx / TimestampCodec

Struct TimestampCodec

pgtype/timestamp.go:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134type TimestampCodec struct {
135 // ScanLocation is the location that the time is assumed to be in for scanning. This is different from
136 // TimestamptzCodec.ScanLocation in that this setting does change the instant in time that the timestamp represents.
137 ScanLocation *time.Location
138}
139
140func (*TimestampCodec) FormatSupported(format int16) bool {
141 return format == TextFormatCode || format == BinaryFormatCode

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected