Get only the schema name that this references.
(&self)
| 26 | impl SchemaReference { |
| 27 | /// Get only the schema name that this references. |
| 28 | pub fn schema_name(&self) -> &str { |
| 29 | match self { |
| 30 | SchemaReference::Bare { schema } => schema, |
| 31 | SchemaReference::Full { schema, catalog: _ } => schema, |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | impl std::fmt::Display for SchemaReference { |
no outgoing calls