MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / DTimestamp

Struct DTimestamp

pkg/sql/sem/tree/datum.go:2135–2137  ·  view source on GitHub ↗

DTimestamp is the timestamp Datum.

Source from the content-addressed store, hash-verified

2133
2134// DTimestamp is the timestamp Datum.
2135type DTimestamp struct {
2136 time.Time
2137}
2138
2139// MakeDTimestamp creates a DTimestamp with specified precision.
2140func MakeDTimestamp(t time.Time, precision time.Duration) *DTimestamp {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected