MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / NewDOid

Function NewDOid

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

NewDOid is a helper routine to create a *DOid initialized from a DInt.

(d DInt)

Source from the content-addressed store, hash-verified

3536
3537// NewDOid is a helper routine to create a *DOid initialized from a DInt.
3538func NewDOid(d DInt) *DOid {
3539 oid := MakeDOid(d)
3540 return &oid
3541}
3542
3543// AsDOid attempts to retrieve a DOid from an Expr, returning a DOid and
3544// a flag signifying whether the assertion was successful. The function should

Callers 5

AsDOidFunction · 0.85
ParseAndRequireStringFunction · 0.85
PerformCastFunction · 0.85
ResolveAsTypeMethod · 0.85
SampleDatumFunction · 0.85

Calls 1

MakeDOidFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…