(&'a self, v: &'a Values<T>)
| 1057 | } |
| 1058 | |
| 1059 | fn doc_values<'a, T: AstInfo>(&'a self, v: &'a Values<T>) -> RcDoc<'a> { |
| 1060 | let rows = |
| 1061 | v.0.iter() |
| 1062 | .map(|row| bracket("(", comma_separate(|v| self.doc_expr(v), row), ")")); |
| 1063 | RcDoc::concat([RcDoc::text("VALUES"), RcDoc::line(), comma_separated(rows)]) |
| 1064 | .nest(TAB) |
| 1065 | .group() |
| 1066 | } |
| 1067 | |
| 1068 | fn doc_table_with_joins<'a, T: AstInfo>(&'a self, v: &'a TableWithJoins<T>) -> RcDoc<'a> { |
| 1069 | let mut docs = vec![self.doc_table_factor(&v.relation)]; |
no test coverage detected