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

Function NewDTupleWithLen

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

4531
4532// NewDTupleWithLen creates a *DTuple with the provided length.
4533func NewDTupleWithLen(typ *types.T, l int) *DTuple {
4534 return &DTuple{D: make(Datums, l), typ: typ}
4535}
4536
4537// MakeDTuple creates a DTuple with the provided datums. See NewDTuple.
4538func MakeDTuple(typ *types.T, d ...Datum) DTuple {

Callers 5

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