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

Function NewDFloat

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

NewDFloat is a helper routine to create a *DFloat initialized from its argument.

(d DFloat)

Source from the content-addressed store, hash-verified

831// NewDFloat is a helper routine to create a *DFloat initialized from its
832// argument.
833func NewDFloat(d DFloat) *DFloat {
834 return &d
835}
836
837// ParseDFloat parses and returns the *DFloat Datum value represented by the provided
838// string, or an error if parsing is unsuccessful.

Callers 4

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