Returns the schema of the table on which this mutation applies
(&self)
| 42 | impl DML { |
| 43 | /// Returns the schema of the table on which this mutation applies |
| 44 | pub fn table_schema(&self) -> &TableOrViewSchema { |
| 45 | match self { |
| 46 | Self::Insert(insert) => &insert.table, |
| 47 | Self::Delete(delete) => &delete.table, |
| 48 | Self::Update(update) => &update.table, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | /// Returns the id of the table on which this mutation applies |
| 53 | pub fn table_id(&self) -> TableId { |
no outgoing calls
no test coverage detected