MCPcopy Create free account
hub / github.com/dolthub/doltgresql / NewDArray

Function NewDArray

postgres/parser/sem/tree/datum.go:1624–1626  ·  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

1622
1623// NewDArray returns a DArray containing elements of the specified type.
1624func NewDArray(paramTyp *types.T) *DArray {
1625 return &DArray{ParamTyp: paramTyp}
1626}
1627
1628// AsDArray attempts to retrieve a *DArray from an Expr, returning a *DArray and
1629// a flag signifying whether the assertion was successful. The function should

Callers 1

doParseDArrayFromStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected