(columnRefs: ColumnReference[])
| 12 | const debugTables = createDebugLogger("postguard:table") |
| 13 | |
| 14 | function formatColumnRefs(columnRefs: ColumnReference[]): string { |
| 15 | const formattedColumnRefs = columnRefs.map(col => |
| 16 | "tableName" in col ? `${col.tableName}.${col.columnName}` : col.columnName |
| 17 | ) |
| 18 | return formattedColumnRefs.length > 0 ? formattedColumnRefs.join(", ") : "-" |
| 19 | } |
| 20 | |
| 21 | function stringifyColumnType(descriptor: ColumnDescriptor) { |
| 22 | const props: string[] = [ |