(
scx: &'a StatementContext<'a>,
from: Option<ResolvedSchemaName>,
filter: Option<ShowStatementFilter<Aug>>,
)
| 624 | } |
| 625 | |
| 626 | fn show_types<'a>( |
| 627 | scx: &'a StatementContext<'a>, |
| 628 | from: Option<ResolvedSchemaName>, |
| 629 | filter: Option<ShowStatementFilter<Aug>>, |
| 630 | ) -> Result<ShowSelect<'a>, PlanError> { |
| 631 | let schema_spec = scx.resolve_optional_schema(&from)?; |
| 632 | let query = format!( |
| 633 | "SELECT name, comment |
| 634 | FROM mz_internal.mz_show_types |
| 635 | WHERE schema_id = '{schema_spec}'" |
| 636 | ); |
| 637 | ShowSelect::new(scx, query, filter, None, Some(&["name", "comment"])) |
| 638 | } |
| 639 | |
| 640 | fn show_all_objects<'a>( |
| 641 | scx: &'a StatementContext<'a>, |
no test coverage detected