Select represents a SELECT statement.
| 134 | |
| 135 | // Select represents a SELECT statement. |
| 136 | type 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. |
| 154 | type DistinctClause struct { |
nothing calls this directly
no outgoing calls
no test coverage detected