Counts
- class sqlcompyre.results.Counts(left: int, right: int)[source]
Investigate the counts of database objects.
- Attributes:
diffThe absolute difference in counts.
equalWhether the counts are the same.
fraction_leftThe left count divided by the right count.
fraction_rightThe right count divided by the left count.
gain_leftThe left count minus the right count.
gain_rightThe right count minus the left count.
- property diff: int
The absolute difference in counts.
- property equal: bool
Whether the counts are the same.
- property fraction_left: float
The left count divided by the right count.
- property fraction_right: float
The right count divided by the left count.
- property gain_left: int
The left count minus the right count.
- property gain_right: int
The right count minus the left count.
- left: int
The counts of the “left” database object.
- right: int
The counts of the “right” database object.