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

Function NewDDate

pkg/sql/sem/tree/datum.go:2008–2010  ·  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

2006// NewDDate is a helper routine to create a *DDate initialized from its
2007// argument.
2008func NewDDate(d pgdate.Date) *DDate {
2009 return &DDate{Date: d}
2010}
2011
2012// MakeDDate makes a DDate from a pgdate.Date.
2013func MakeDDate(d pgdate.Date) DDate {

Callers 6

NewDDateFromTimeFunction · 0.85
ParseDDateFunction · 0.85
datum.goFile · 0.85
PrevMethod · 0.85
NextMethod · 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…