Adjust print options based on any statement specific requirements
(mut self, statement: &Statement)
| 365 | } |
| 366 | /// Adjust print options based on any statement specific requirements |
| 367 | fn with_statement(mut self, statement: &Statement) -> Self { |
| 368 | if let Statement::Statement(sql_stmt) = statement { |
| 369 | // SHOW / SHOW ALL |
| 370 | if let sqlparser::ast::Statement::ShowVariable { .. } = sql_stmt.as_ref() { |
| 371 | self.inner.maxrows = MaxRows::Unlimited |
| 372 | } |
| 373 | } |
| 374 | self |
| 375 | } |
| 376 | |
| 377 | /// Adjust print options based on any plan specific requirements |
| 378 | fn with_plan(mut self, plan: &LogicalPlan) -> Self { |
no test coverage detected