(&'a self, v: &'a Distinct<T>)
| 1136 | } |
| 1137 | |
| 1138 | fn doc_distinct<'a, T: AstInfo>(&'a self, v: &'a Distinct<T>) -> RcDoc<'a> { |
| 1139 | match v { |
| 1140 | Distinct::EntireRow => RcDoc::text("DISTINCT"), |
| 1141 | Distinct::On(cols) => bracket( |
| 1142 | "DISTINCT ON (", |
| 1143 | comma_separate(|c| self.doc_expr(c), cols), |
| 1144 | ")", |
| 1145 | ), |
| 1146 | } |
| 1147 | } |
| 1148 | |
| 1149 | fn doc_select<'a, T: AstInfo>(&'a self, v: &'a Select<T>) -> RcDoc<'a> { |
| 1150 | let mut docs = vec![]; |
no test coverage detected