MCPcopy
hub / github.com/pingcap/tidb / Join

Struct Join

pkg/parser/ast/dml.go:75–93  ·  view source on GitHub ↗

Join represents table join.

Source from the content-addressed store, hash-verified

73
74// Join represents table join.
75type Join struct {
76 node
77
78 // Left table can be TableSource or JoinNode.
79 Left ResultSetNode
80 // Right table can be TableSource or JoinNode or nil.
81 Right ResultSetNode
82 // Tp represents join type.
83 Tp JoinType
84 // On represents join on condition.
85 On *OnCondition
86 // Using represents join using clause.
87 Using []*ColumnName
88 // NaturalJoin represents join is natural join.
89 NaturalJoin bool
90 // StraightJoin represents a straight join.
91 StraightJoin bool
92 ExplicitParens bool
93}
94
95func (*Join) resultSet() {}
96

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected