MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Tuple

Struct Tuple

postgres/parser/sem/tree/expr.go:910–920  ·  view source on GitHub ↗

Tuple represents a parenthesized list of expressions.

Source from the content-addressed store, hash-verified

908
909// Tuple represents a parenthesized list of expressions.
910type Tuple struct {
911 Exprs Exprs
912 Labels []string
913
914 // Row indicates whether `ROW` was used in the input syntax. This is
915 // used solely to generate column names automatically, see
916 // col_name.go.
917 Row bool
918
919 typ *types.T
920}
921
922// NewTypedTuple returns a new Tuple that is verified to be well-typed.
923func NewTypedTuple(typ *types.T, typedExprs Exprs) *Tuple {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected