(
scx: &'a StatementContext<'a>,
from: Option<ResolvedSchemaName>,
filter: Option<ShowStatementFilter<Aug>>,
)
| 787 | } |
| 788 | |
| 789 | pub fn show_secrets<'a>( |
| 790 | scx: &'a StatementContext<'a>, |
| 791 | from: Option<ResolvedSchemaName>, |
| 792 | filter: Option<ShowStatementFilter<Aug>>, |
| 793 | ) -> Result<ShowSelect<'a>, PlanError> { |
| 794 | let schema_spec = scx.resolve_optional_schema(&from)?; |
| 795 | |
| 796 | let query = format!( |
| 797 | "SELECT name, comment |
| 798 | FROM mz_internal.mz_show_secrets |
| 799 | WHERE schema_id = '{schema_spec}'", |
| 800 | ); |
| 801 | |
| 802 | ShowSelect::new(scx, query, filter, None, Some(&["name", "comment"])) |
| 803 | } |
| 804 | |
| 805 | pub fn show_privileges<'a>( |
| 806 | scx: &'a StatementContext<'a>, |
no test coverage detected