MCPcopy
hub / github.com/sqldef/sqldef / Select

Struct Select

parser/node.go:136–151  ·  view source on GitHub ↗

Select represents a SELECT statement.

Source from the content-addressed store, hash-verified

134
135// Select represents a SELECT statement.
136type Select struct {
137 Cache string
138 Comments Comments
139 Distinct *DistinctClause
140 Hints string
141 Top Expr // SQL Server TOP n / TOP (n), emitted before the select list
142 SelectExprs SelectExprs
143 From TableExprs
144 Where *Where
145 GroupBy GroupBy
146 Having *Where
147 OrderBy OrderBy
148 Limit *Limit
149 Lock string
150 With *With
151}
152
153// DistinctClause represents DISTINCT or DISTINCT ON (exprs) in a SELECT statement.
154type DistinctClause struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected