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

Function NewDInt

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

NewDInt is a helper routine to create a *DInt initialized from its argument.

(d DInt)

Source from the content-addressed store, hash-verified

607
608// NewDInt is a helper routine to create a *DInt initialized from its argument.
609func NewDInt(d DInt) *DInt {
610 return &d
611}
612
613// ParseDInt parses and returns the *DInt Datum value represented by the provided
614// string, or an error if parsing is unsuccessful.

Callers 10

ParseMethod · 0.92
datum.goFile · 0.85
AsDIntMethod · 0.85
ParseDIntFunction · 0.85
PrevMethod · 0.85
NextMethod · 0.85
eval.goFile · 0.85
PerformCastFunction · 0.85
IntPowFunction · 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…