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

Function NewDArray

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

4989
4990// NewDArray returns a DArray containing elements of the specified type.
4991func NewDArray(paramTyp *types.T) *DArray {
4992 return &DArray{ParamTyp: paramTyp}
4993}
4994
4995// AsDArray attempts to retrieve a *DArray from an Expr, returning a *DArray and
4996// a flag signifying whether the assertion was successful. The function should

Callers 5

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