Skip to content

UpdateStatus

pixeltable.UpdateStatus dataclass

UpdateStatus(
    updated_cols: list[str] = list(),
    cols_with_excs: list[str] = list(),
    row_count_stats: RowCountStats = RowCountStats(),
    cascade_row_count_stats: RowCountStats = RowCountStats(),
)

Information about updates that resulted from a table operation.

insert_msg property

insert_msg: str

Return a message describing the results of an insert operation.

insert_to_update

insert_to_update() -> 'UpdateStatus'

Convert the update status from an insert operation to an update operation. This is used when an insert operation is treated as an update.

to_cascade

to_cascade() -> 'UpdateStatus'

Convert the update status to a cascade update status. This is used when an operation cascades changes to other tables.