Function mz_sql::ast::transform::create_stmt_rename_schema_refs

source ยท
pub fn create_stmt_rename_schema_refs(
    create_stmt: &mut Statement<Raw>,
    database: &str,
    cur_schema: &str,
    new_schema: &str,
) -> Result<(), (String, String)>
Expand description

Given a Statement rewrites all references of the schema name cur_schema_name to new_schema_name.