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

Function NewDInt

pkg/sql/sem/tree/datum.go:665–667  ·  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

663
664// NewDInt is a helper routine to create a *DInt initialized from its argument.
665func NewDInt(d DInt) *DInt {
666 return &d
667}
668
669// ParseDInt parses and returns the *DInt Datum value represented by the provided
670// string, or an error if parsing is unsuccessful.

Callers 6

datum.goFile · 0.85
AsDIntMethod · 0.85
ParseDIntFunction · 0.85
PrevMethod · 0.85
NextMethod · 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…