Retrieve the table name, regardless of qualification.
(&self)
| 163 | |
| 164 | /// Retrieve the table name, regardless of qualification. |
| 165 | pub fn table(&self) -> &str { |
| 166 | match self { |
| 167 | Self::Full { table, .. } |
| 168 | | Self::Partial { table, .. } |
| 169 | | Self::Bare { table } => table, |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | /// Retrieve the schema name if [`Self::Partial]` or [`Self::`Full`], |
| 174 | /// `None` otherwise. |