Skip to main content

class pixeltable.UpdateStatus

View source on GitHub Information about changes to table data or table schema

method 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.

method 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.

attr ext_num_rows

ext_num_rows: int
Total number of rows affected in an external store.

attr external_rows_created

external_rows_created: int
Number of rows created in an external store.

attr external_rows_deleted

external_rows_deleted: int
Number of rows deleted from an external store.

attr external_rows_updated

external_rows_updated: int
Number of rows updated in an external store.

attr insert_msg

insert_msg: str
A message describing the results of an insert operation.

attr num_computed_values

num_computed_values: int
Total number of computed values affected (including cascaded changes).

attr num_excs

num_excs: int
Total number of exceptions encountered (including cascaded changes).

attr num_rows

num_rows: int
Total number of rows affected (including cascaded changes).

attr pxt_rows_updated

pxt_rows_updated: int
Returns the number of Pixeltable rows that were updated as a result of the operation.