Stats
Less than 1 minute
Stats
Tracks statistics for database synchronization operations.
class Stats extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
Records the number of rows processed, inserted, updated, deleted, and unchanged during sync.
Properties
rows
The total number of rows processed.
public int $rowsType: int
inserts
The number of rows inserted.
public int $insertsType: int
updates
The number of rows updated.
public int $updatesType: int
deletes
The number of rows deleted.
public int $deletesType: int
unchanged
The number of rows that were unchanged.
public int $unchangedType: int
Methods
addRow
Adds a row status to the statistics, incrementing the appropriate counter.
public addRow(RowStatus $status): RowStatusReturns: Hazaar\DBI\Manager\Sync\Enums\RowStatus
Parameters
| Parameter | Type | Description |
|---|---|---|
$status | Hazaar\DBI\Manager\Sync\Enums\RowStatus | the status of the processed row |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000