Stats
Less than 1 minute
Stats
Tracks statistics for database synchronization operations.
class Stats extends \Hazaar\DBI\Manager\Sync\StructRecords the number of rows processed, inserted, updated, deleted, and unchanged during sync.
Properties
rows
The total number of rows processed.
public int $rowsinserts
The number of rows inserted.
public int $insertsupdates
The number of rows updated.
public int $updatesdeletes
The number of rows deleted.
public int $deletesunchanged
The number of rows that were unchanged.
public int $unchangedMethods
addRow
Adds a row status to the statistics, incrementing the appropriate counter.
public addRow(RowStatus $status): RowStatusParameters
| Parameter | Type | Description |
|---|---|---|
$status | RowStatus | the status of the processed row |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000