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

Method get_source_name

src/expr-parser/src/catalog.rs:60–62  ·  view source on GitHub ↗

Looks up the name of the object referred to as `id`.

(&'a self, id: &GlobalId)

Source from the content-addressed store, hash-verified

58
59 /// Looks up the name of the object referred to as `id`.
60 pub fn get_source_name(&'a self, id: &GlobalId) -> Option<&'a String> {
61 self.names.get(id)
62 }
63
64 /// Clears all transient objects from the catalog.
65 pub fn remove_transient_objects(&mut self) {

Callers 2

column_names_for_idMethod · 0.45
humanize_columnMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected