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(),
ext_row_count_stats: RowCountStats = RowCountStats(),
)
Information about changes to table data or table schema
insert_msg
property
insert_msg: str
Return a message describing the results of an insert operation.
pxt_rows_updated
property
pxt_rows_updated: int
Returns the number of Pixeltable rows that were updated as a result of the 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.