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

Struct Tuple

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

Tuple represents a parenthesized list of expressions.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected