sqlcompyre.report package

Subpackages

Submodules

Module contents

class sqlcompyre.report.Report(object_type: Literal['tables', 'schemas'], object_1: str, object_2: str, description: str | None, sections: dict[str, Any])[source]

Bases: object

Summary of the comparison of two SQL database objects.

Methods

format(formatter[, hide_matching_columns])

Format this report with the provided formatter.

format(formatter: Formatter, hide_matching_columns: bool = False) str[source]

Format this report with the provided formatter.

Args:

formatter: The formatter to use for converting this report into a string. hide_matching_columns: Whether to hide columns where the values are the same.

Returns:

The report, formatted with the provided formatter.