(
&self,
index: &TableIndex,
index_id: IndexId,
row: RowRef<'_>,
)
| 2328 | /// and the `row` that caused the violation. |
| 2329 | #[cold] |
| 2330 | pub fn build_error_unique( |
| 2331 | &self, |
| 2332 | index: &TableIndex, |
| 2333 | index_id: IndexId, |
| 2334 | row: RowRef<'_>, |
| 2335 | ) -> UniqueConstraintViolation { |
| 2336 | let value = index.project_row(row); |
| 2337 | let schema = self.get_schema(); |
| 2338 | UniqueConstraintViolation::build(schema, index, index_id, value) |
| 2339 | } |
| 2340 | |
| 2341 | /// Returns a new empty table using the particulars passed. |
| 2342 | fn new_raw( |
no test coverage detected