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

Function NewDRefCursor

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

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

(d string)

Source from the content-addressed store, hash-verified

6008// NewDRefCursor is a helper routine to create a *DRefCursor (implemented as a
6009// *DOidWrapper) initialized from a string.
6010func NewDRefCursor(d string) Datum {
6011 return NewDRefCursorFromDString(NewDString(d))
6012}
6013
6014// NewDIntVectorFromDArray is a helper routine to create a new *DArray,
6015// initialized from an existing *DArray, with the special oid for IntVector.

Callers 2

ParseAndRequireStringFunction · 0.85
SampleDatumFunction · 0.85

Calls 2

NewDRefCursorFromDStringFunction · 0.85
NewDStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…