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

Function MakeDOid

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

MakeDOid is a helper routine to create a DOid initialized from a DInt.

(d oid.Oid, semanticType *types.T)

Source from the content-addressed store, hash-verified

5659
5660// MakeDOid is a helper routine to create a DOid initialized from a DInt.
5661func MakeDOid(d oid.Oid, semanticType *types.T) DOid {
5662 return DOid{Oid: d, semanticType: semanticType, name: ""}
5663}
5664
5665// NewDOidWithType constructs a DOid with the given type and no name.
5666func NewDOidWithType(d oid.Oid, semanticType *types.T) *DOid {

Callers 1

NewDOidFunction · 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…