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

Function NewDTupleWithLen

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

NewDTupleWithLen creates a *DTuple with the provided length.

(typ *types.T, l int)

Source from the content-addressed store, hash-verified

2902
2903// NewDTupleWithLen creates a *DTuple with the provided length.
2904func NewDTupleWithLen(typ *types.T, l int) *DTuple {
2905 return &DTuple{D: make(Datums, l), typ: typ}
2906}
2907
2908// AsDTuple attempts to retrieve a *DTuple from an Expr, returning a *DTuple and
2909// a flag signifying whether the assertion was successful. The function should

Callers 5

PrevMethod · 0.85
NextMethod · 0.85
MaxMethod · 0.85
MinMethod · 0.85
EvalMethod · 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…