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

Function NewDNameFromDString

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

NewDNameFromDString is a helper routine to create a *DName (implemented as a *DOidWrapper) initialized from an existing *DString.

(d *DString)

Source from the content-addressed store, hash-verified

5990// NewDNameFromDString is a helper routine to create a *DName (implemented as
5991// a *DOidWrapper) initialized from an existing *DString.
5992func NewDNameFromDString(d *DString) Datum {
5993 return wrapWithOid(d, oid.T_name)
5994}
5995
5996// NewDName is a helper routine to create a *DName (implemented as a *DOidWrapper)
5997// initialized from a string.

Callers 3

NewDNameFunction · 0.85
ResolveAsTypeMethod · 0.85
NewDNameMethod · 0.85

Calls 1

wrapWithOidFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…