Retrieve the catalog name if [`Self::Full`], `None` otherwise.
(&self)
| 181 | |
| 182 | /// Retrieve the catalog name if [`Self::Full`], `None` otherwise. |
| 183 | pub fn catalog(&self) -> Option<&str> { |
| 184 | match self { |
| 185 | Self::Full { catalog, .. } => Some(catalog), |
| 186 | _ => None, |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | /// Compare with another [`TableReference`] as if both are resolved. |
| 191 | /// This allows comparing across variants. If a field is not present |
no outgoing calls