writeTableHeader writes the single-table header line.
(sb *strings.Builder, t *TableDetail)
| 684 | |
| 685 | // writeTableHeader writes the single-table header line. |
| 686 | func writeTableHeader(sb *strings.Builder, t *TableDetail) { |
| 687 | fmt.Fprintf(sb, "Table: %s (%d rows, %d columns, %d indexes, %d foreign keys)\n", |
| 688 | t.Name, t.RowCount, len(t.Columns), len(t.Indexes), len(t.ForeignKeys)) |
| 689 | } |
| 690 | |
| 691 | // writeSchemasHeader writes the multi-schema overview header lines. |
| 692 | func writeSchemasHeader(sb *strings.Builder, sections []SchemaSection, include string) { |
no outgoing calls
no test coverage detected