Class DmlStats (3.23.1)

DmlStats(
    inserted_row_count: int = 0, deleted_row_count: int = 0, updated_row_count: int = 0
)

Methods

DmlStats

DmlStats(
    inserted_row_count: int = 0, deleted_row_count: int = 0, updated_row_count: int = 0
)

Create new instance of DmlStats(inserted_row_count, deleted_row_count, updated_row_count)

count

count(value, /)

Return number of occurrences of value.

index

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.