MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / visit_item_name_mut

Method visit_item_name_mut

src/sql/src/ast/transform.rs:122–129  ·  view source on GitHub ↗
(
        &mut self,
        item_name: &'ast mut <mz_sql_parser::ast::Raw as AstInfo>::ItemName,
    )

Source from the content-addressed store, hash-verified

120 }
121
122 fn visit_item_name_mut(
123 &mut self,
124 item_name: &'ast mut <mz_sql_parser::ast::Raw as AstInfo>::ItemName,
125 ) {
126 match item_name {
127 RawItemName::Name(n) | RawItemName::Id(_, n, _) => self.maybe_rewrite_idents(&mut n.0),
128 }
129 }
130}
131
132/// Changes the `name` used in an item's `CREATE` statement. To complete a

Callers

nothing calls this directly

Calls 4

maybe_rewrite_identsMethod · 0.80
parseMethod · 0.45
getMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected