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

Function NewDArray

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

NewDArray returns a DArray containing elements of the specified type.

(paramTyp *types.T)

Source from the content-addressed store, hash-verified

3304
3305// NewDArray returns a DArray containing elements of the specified type.
3306func NewDArray(paramTyp *types.T) *DArray {
3307 return &DArray{ParamTyp: paramTyp}
3308}
3309
3310// AsDArray attempts to retrieve a *DArray from an Expr, returning a *DArray and
3311// a flag signifying whether the assertion was successful. The function should

Callers 7

doParseDArrayFromStringFunction · 0.85
NewDefaultDatumFunction · 0.85
AppendToMaybeNullArrayFunction · 0.85
PrependToMaybeNullArrayFunction · 0.85
ConcatArraysFunction · 0.85
PerformCastFunction · 0.85
arrayOfTypeFunction · 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…