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

Method schema_spec

src/sql/src/names.rs:619–626  ·  view source on GitHub ↗

Panics if this is `Self::Error`.

(&self)

Source from the content-addressed store, hash-verified

617
618 /// Panics if this is `Self::Error`.
619 pub fn schema_spec(&self) -> &SchemaSpecifier {
620 match self {
621 ResolvedSchemaName::Schema { schema_spec, .. } => schema_spec,
622 ResolvedSchemaName::Error => {
623 unreachable!("should have been handled by name resolution")
624 }
625 }
626 }
627}
628
629impl AstDisplay for ResolvedSchemaName {

Callers 5

plan_update_privilegeFunction · 0.80
show_subsourcesFunction · 0.80
show_indexesFunction · 0.80
plan_commentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected