1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

Quick change to splitting.

This commit is contained in:
mike12345567 2024-06-28 15:22:34 +01:00
parent b3d07aa228
commit d7f6c494ed

View file

@ -172,6 +172,8 @@ export class ColumnSplitter {
this.relationships = this.tableNames
.concat(this.tableIds)
.concat(this.relationshipColumnNames)
// sort by length - makes sure there's no mis-matches due to similarities (sub column names)
.sort((a, b) => b.length - a.length)
}
run(key: string): {