NewDTupleWithLen creates a *DTuple with the provided length.
(typ *types.T, l int)
| 2902 | |
| 2903 | // NewDTupleWithLen creates a *DTuple with the provided length. |
| 2904 | func 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 |