(
scx: &'a StatementContext<'a>,
from: Option<ResolvedSchemaName>,
filter: Option<ShowStatementFilter<Aug>>,
)
| 638 | } |
| 639 | |
| 640 | fn show_all_objects<'a>( |
| 641 | scx: &'a StatementContext<'a>, |
| 642 | from: Option<ResolvedSchemaName>, |
| 643 | filter: Option<ShowStatementFilter<Aug>>, |
| 644 | ) -> Result<ShowSelect<'a>, PlanError> { |
| 645 | let schema_spec = scx.resolve_optional_schema(&from)?; |
| 646 | let query = format!( |
| 647 | "SELECT name, type, comment |
| 648 | FROM mz_internal.mz_show_all_objects |
| 649 | WHERE schema_id = '{schema_spec}'", |
| 650 | ); |
| 651 | ShowSelect::new(scx, query, filter, None, Some(&["name", "type", "comment"])) |
| 652 | } |
| 653 | |
| 654 | pub fn show_indexes<'a>( |
| 655 | scx: &'a StatementContext<'a>, |
no test coverage detected