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

Method id

src/sql/src/names.rs:337–342  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

335
336impl ResolvedDatabaseSpecifier {
337 pub fn id(&self) -> Option<DatabaseId> {
338 match self {
339 ResolvedDatabaseSpecifier::Ambient => None,
340 ResolvedDatabaseSpecifier::Id(id) => Some(*id),
341 }
342 }
343}
344
345impl fmt::Display for ResolvedDatabaseSpecifier {

Callers 15

TutorialInsertionWidgetFunction · 0.45
NewClusterFormFunction · 0.45
getOwnersFunction · 0.45
createIncludeStatementFunction · 0.45
useWebhookSourceEventsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected