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

Function NewDString

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

NewDString is a helper routine to create a *DString initialized from its argument.

(d string)

Source from the content-addressed store, hash-verified

1074// NewDString is a helper routine to create a *DString initialized from its
1075// argument.
1076func NewDString(d string) *DString {
1077 r := DString(d)
1078 return &r
1079}
1080
1081// AsDString attempts to retrieve a DString from an Expr, returning a DString and
1082// a flag signifying whether the assertion was successful. The function should

Callers 7

NextMethod · 0.85
datum.goFile · 0.85
NewDNameFunction · 0.85
ParseAndRequireStringFunction · 0.85
eval.goFile · 0.85
PerformCastFunction · 0.85
SampleDatumFunction · 0.85

Calls 1

DStringTypeAlias · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…