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

Function NewDBytes

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

NewDBytes is a helper routine to create a *DBytes initialized from its argument.

(d DBytes)

Source from the content-addressed store, hash-verified

1357// NewDBytes is a helper routine to create a *DBytes initialized from its
1358// argument.
1359func NewDBytes(d DBytes) *DBytes {
1360 return &d
1361}
1362
1363// MustBeDBytes attempts to convert an Expr into a DBytes, panicking if unsuccessful.
1364func MustBeDBytes(e Expr) DBytes {

Callers 6

ParseDByteFunction · 0.85
NextMethod · 0.85
datum.goFile · 0.85
eval.goFile · 0.85
PerformCastFunction · 0.85
SampleDatumFunction · 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…