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

Function NewDName

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

NewDName is a helper routine to create a *DName (implemented as a *DOidWrapper) initialized from a string.

(d string)

Source from the content-addressed store, hash-verified

5996// NewDName is a helper routine to create a *DName (implemented as a *DOidWrapper)
5997// initialized from a string.
5998func NewDName(d string) Datum {
5999 return NewDNameFromDString(NewDString(d))
6000}
6001
6002// NewDRefCursorFromDString is a helper routine to create a *DRefCursor
6003// (implemented as a *DOidWrapper) initialized from an existing *DString.

Callers

nothing calls this directly

Calls 2

NewDNameFromDStringFunction · 0.85
NewDStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…