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

Function NewDDate

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

NewDDate is a helper routine to create a *DDate initialized from its argument.

(d pgdate.Date)

Source from the content-addressed store, hash-verified

1736// NewDDate is a helper routine to create a *DDate initialized from its
1737// argument.
1738func NewDDate(d pgdate.Date) *DDate {
1739 return &DDate{Date: d}
1740}
1741
1742// MakeDDate makes a DDate from a pgdate.Date.
1743func MakeDDate(d pgdate.Date) DDate {

Callers 8

NewDDateFromTimeFunction · 0.85
ParseDDateFunction · 0.85
datum.goFile · 0.85
PrevMethod · 0.85
NextMethod · 0.85
eval.goFile · 0.85
PerformCastFunction · 0.85
SampleDatumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…