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

Struct DInterval

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

DInterval is the interval Datum.

Source from the content-addressed store, hash-verified

2497
2498// DInterval is the interval Datum.
2499type DInterval struct {
2500 duration.Duration
2501}
2502
2503// NewDInterval creates a new DInterval.
2504func NewDInterval(d duration.Duration, itm types.IntervalTypeMetadata) *DInterval {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected