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

Struct Tuple

pkg/sql/sem/tree/expr.go:817–827  ·  view source on GitHub ↗

Tuple represents a parenthesized list of expressions.

Source from the content-addressed store, hash-verified

815
816// Tuple represents a parenthesized list of expressions.
817type Tuple struct {
818 Exprs Exprs
819 Labels []string
820
821 // Row indicates whether `ROW` was used in the input syntax. This is
822 // used solely to generate column names automatically, see
823 // col_name.go.
824 Row bool
825
826 typ *types.T
827}
828
829// NewTypedTuple returns a new Tuple that is verified to be well-typed.
830func NewTypedTuple(typ *types.T, typedExprs Exprs) *Tuple {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected