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

Function NewDRefCursorFromDString

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

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

(d *DString)

Source from the content-addressed store, hash-verified

6002// NewDRefCursorFromDString is a helper routine to create a *DRefCursor
6003// (implemented as a *DOidWrapper) initialized from an existing *DString.
6004func NewDRefCursorFromDString(d *DString) Datum {
6005 return wrapWithOid(d, oid.T_refcursor)
6006}
6007
6008// NewDRefCursor is a helper routine to create a *DRefCursor (implemented as a
6009// *DOidWrapper) initialized from a string.

Callers 2

NewDRefCursorFunction · 0.85
NewDRefCursorMethod · 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…